[Q] Boot sound for mini /pro? - Sony Ericsson XPERIA X10 Mini

Hey guys,
well, maybe this sounds funny but..can we put a custom sound at boot process on our minis? i mean just like on your computer? and i remember that my last phone (SE w810i) had a boot sound. Don't know if this is possible on Android so therefore im here to ask
Thanks for your answers

It is possible boot you need to make a bootsound bin file
And you need to edit the ramdisk inside the filesystem to add an boot property for the bootsound
Sent from my u20i using XDA Premium App

wow! awesome that its possible..and it sounds very easy to realize. But as im not a dev i cant manage this.
Masterful Owain, could you deal with this for me/us? Of course just when you'll be done with your bigger projects

surely we can't edit the ramdisk without cracking the bootloader first.... ( thinks of initrd file)

ruifung said:
surely we can't edit the ramdisk without cracking the bootloader first.... ( thinks of initrd file)
Click to expand...
Click to collapse
i thought we wouldn't need to crack bootloader to edit ramdisk..please correct me if i'm wrong but: recently owain edited cm7 for mini pro and changelog said:
changelog:
v5:
WiFi
New and better ramdisk
Dirty keylight fix
Click to expand...
Click to collapse
so i think he just edited ramdisk in order to change it to a better one, right? and bootloader isn't cracked yet, right?

Related

[ROM]mySlide-1.0.2

mySlide-1.0.2
YOU PROBABLY DON'T WANT THIS...DON'T WASTE YOUR TIME!!!!!
This is just what I want, not necessarily what you want http://www.mediafire.com/?tstgikwhfezj6ph
This Rom will mostly be unsupported and unmaintained.
Flash at your OWN RISK.
What it is:
Stock slide rom.
added busybox
added netcat (busybox nc isn't good enough for me)
added bash
added htop
removed link toolbox->df (prefer the one in busybox)
removed link toolbox->rm (prefer the one in busybox)
changed the default animated boot ADVERTISEMENT and jingle
pngcrushed and zipaligned apks (with the execption of one) to save some space
Kangs:
what isn't.
maybe a few more little changes I forgot.
changes:
from 1.0.0 to 1.0.1:
added a2sd (from eugene373's smr5r1. breaks boot animation)
added default themes back.
from 1.0.1 to 1.0.2
added e2fsck
mySlide-1.0.0-signed
mySlide-1.0.1-signed
mySlide-1.0.2-signed
Themes in this are broken (1.0.0 only). If you want the default themes back then flash this...
themes-signed.zip
hey dumfuq glad to see you over on the slide section now. can we expect some overclocked kernals from you like on the g1?
jriv said:
hey dumfuq glad to see you over on the slide section now. can we expect some overclocked kernals from you like on the g1?
Click to expand...
Click to collapse
I sure hope so, but only time will tell.
That would be sick wonder how high this processer can go?
Sent from my T-Mobile myTouch 3G Slide using XDA App
Is the IM app erased in this and the tmobile app pack? i hate those apps
Nevermind i used ur rom and erased the files and signed it again. Thanks for the rom
dumfuq said:
YOU PROBABLY DON'T WANT THIS...DON'T WASTE YOUR TIME!!!!!
Click to expand...
Click to collapse
Not sure why you say that (in those words), but this does look decent!
Also, noob question, but are the stock ROMs (apps included) not zipaligned by default?
Yup they were already zipaligned. At least the ones I just checked
Honesty I didn't even look first. The crush actually takes off about 10Mb though.
yo dumfuq quick question... what exactly is required in editing a kernel to allow for overclocking and undervolting?
kingofyo1 said:
yo dumfuq quick question... what exactly is required in editing a kernel to allow for overclocking and undervolting?
Click to expand...
Click to collapse
Not exactly sure if this is what your asking but basically...
You need the kernel source code to edit (the legend kernel source has the espresso board files),
A handy dandy text editor (like vim),
a cross-compiler (There is one under prebuilt/linux-x86/toolchain in an AOSP or cyanogenmod build environment),
and a linux environment (cygwin might work not really sure).
1. download source
2. unpack source
3. edit source
4. set environmental variables
4. compile source
5. make a boot.img or an update.zip
Obviously that's incredibly simplified, but hopefully you get the idea.
Ok quick question to the maker of this rom... How can i add the themes back to this rom? I want to put the themes back but i dont kno which folder to put them in. Also which folder is where i can change the boot animation you have installed to stock? Thanks
this actually seems like exactly what i want. My only question is does it support a2sd. if so.. i have a new rom
btate0121 said:
this actually seems like exactly what i want. My only question is does it support a2sd. if so.. i have a new rom
Click to expand...
Click to collapse
good question. a2sd is a plus
you don't put them in anywhere. you can download and install them. there's a thread already with a small pack of themes to download and install. You install like any other APK. Search this forum section for them.
NiN39Z said:
Ok quick question to the maker of this rom... How can i add the themes back to this rom? I want to put the themes back but i dont kno which folder to put them in. Also which folder is where i can change the boot animation you have installed to stock? Thanks
Click to expand...
Click to collapse
The PNG crush killed the stock themes. If you want them back you can either boot to recovery and push the original ones to /system/app/ or just flash this...themes-signed.zip. That is just an update.zip that will copy the original themes back to your phone.
btate0121 said:
this actually seems like exactly what i want. My only question is does it support a2sd. if so.. i have a new rom
Click to expand...
Click to collapse
Nope, no a2sd.
any plans to add a2sd? I mean seriously... this would be PERFECT for my needs if it only had a2sd. I'm happy with a stock rom... i just want a2sd.
btate0121 said:
any plans to add a2sd? I mean seriously... this would be PERFECT for my needs if it only had a2sd. I'm happy with a stock rom... i just want a2sd.
Click to expand...
Click to collapse
Nope. Currently I don't use a2sd, or this rom really. I made this just for an optimized stock rom to bounce back to when needed. Currently I'm running a customized version of eugene's cm6 as my daily driver.
in your experience.. how hard would it be for a novice to add a2dp to this? I did a quick google and found about 3 good pages of data.. but it seems pretty complicated (packing and repacking boot.img looks to be pretty intense on a windows machine without any experience from what i can tell). Do you think i should attempt this? LOL.
dumfuq said:
Nope. Currently I don't use a2sd, or this rom really. I made this just for an optimized stock rom to bounce back to when needed. Currently I'm running a customized version of eugene's cm6 as my daily driver.
Click to expand...
Click to collapse
what is the difference between your customized version and the regular?
btate0121 said:
in your experience.. how hard would it be for a novice to add a2dp to this? I did a quick google and found about 3 good pages of data.. but it seems pretty complicated (packing and repacking boot.img looks to be pretty intense on a windows machine without any experience from what i can tell). Do you think i should attempt this? LOL.
Click to expand...
Click to collapse
what were the links they seem like the ones i have been looking for lol! i can already unpack and repack a boot.img im just looking for the steps i need to add to get aps2sd to work! i had a link explaining it but i cant find it anymore or google it!

[Q] how do i change the kernel splash screen?

so i'm in the process of testing out the bali kernel by drhonk, came from categorically worthless....
i just wanna know how to change the kernel splash screen to further personalize my phone.
i understand that these kernel devs want to put their trademark image in there, but the kernel splash image for bali just doesn't match my overall theme....
i have seen the video about the lfs partition for captivates, but i dont wanna risk it since i have a vibrant running a vibrant based rom.(bionix v 1.3.1)
any ideas?
You can change the "BIOS" splash image, aka the lfs partition, but you can't change the kernel splash as it's hard coded into the kernel.
Sent from my SGH-T959 using XDA App
geoffcorey said:
You can change the "BIOS" splash image, aka the lfs partition, but you can't change the kernel splash as it's hard coded into the kernel.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
That is incorrect, you CAN change the kernel boot screen, the OP's question is how?
creeve4 said:
That is incorrect, you CAN change the kernel boot screen, the OP's question is how?
Click to expand...
Click to collapse
You can change it if you download a new kernel, or download the kernel developer's source code, change the screen and then recompile the kernel.
Those are tthe ONLY two ways...
Sent from my SGH-T959 using XDA App
FUGLY splash screen
I'd love to change or REMOVE the splash screen in any if not all of these kernels how do I do so I am using MIUI so themes mean something to me and that doesn't match any of my themes z.z
265ada said:
I'd love to change or REMOVE the splash screen in any if not all of these kernels how do I do so I am using MIUI so themes mean something to me and that doesn't match any of my themes z.z
Click to expand...
Click to collapse
Again, if you read the post right above you, it's the same answer. You must change it in the kernel source, and then compile.
There is no way around it.
Sent from my HTC Sensation 4G using XDA App
can someone please tell me where in the kernel this is located? I can't find the directory.
hp420 said:
can someone please tell me where in the kernel this is located? I can't find the directory.
Click to expand...
Click to collapse
drivers/video/samsung/logo_rgb24_wvga_portrait.h
geoffcorey said:
You can change it if you download a new kernel, or download the kernel developer's source code, change the screen and then recompile the kernel.
Those are tthe ONLY two ways...
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
I am dealing with "chinese" Android 11 TV box, getting a copy of the kernel source is probably impossible, more likely it's not something that can be de-compiled (educated guess).
Are there generic public kernels that I could download?
Are kernels on Android tightly bound to particular device hardware or are they simply the core of linux and Android is linux shell?
(I would like to think of kernels NOT the same thing as firmware right? since the later is even lower level burried into HW ROMs?)
if generic public kernels exists please point me where I could download one, to try to change the "kernel splash bitmap"
After recompiling a kernel by downloading you mean same thing as what other refer to as flashing and image to the device?
Sorry about all my confusion, I appreciate any insights, Thank you!!!

[ROMADDON] Bootsound for CyaNoComb 1.2/1.3 and Froyocomb 1.5/1.6

Hello there.
I played around with the bootsound thingy and have made a hopefully nice bootsound for our froyocomb and CyaNoComb installation.
All you need is one of this rom with its appropriate honeycomb-like bootanimation.
And of yourse these CWM-installable packages:
One to install that Bootsound
and one to remove if you don't like.
If you currently have made a dalvik or cache cleanup the sound may not match with the animation, of course.
Bwoooowzz
[edit] ah uh thx owain.
edit post advance edit there you can change the name
nice work mate!
only one thing why do you use stagefright :O
there are better ways!
owain94 said:
edit post advance edit there you can change the name
nice work mate!
only one thing why do you use stagefright :O
there are better ways!
Click to expand...
Click to collapse
Owain, why now that you have a optimus are more active on mini forums? <3
He's right (he allways is), aplay it's better, but unfortunately it's not available on android :S
owain94 said:
only one thing why do you use stagefright :O
there are better ways!
Click to expand...
Click to collapse
My brain just went till the informations provided in there. I have no clue how to do better
Snoopo said:
My brain just went till the informations provided in there. I have no clue how to do better
Click to expand...
Click to collapse
well it works so nice job hehe
hmm the stagefright process stays after booting. hmm.
Not that bad, but not that good.
I'll look for a solution. if you have an idea spread it :=)
Snoopo said:
hmm the stagefright process stays after booting. hmm.
Not that bad, but not that good.
I'll look for a solution. if you have an idea spread it :=)
Click to expand...
Click to collapse
put this in init.local.rc just add it to the lines that are already there
Code:
service bootsound /system/bin/bootsound
user media
groud media
disabled
oneshot
on property:init.svc.bootanim=running
start bootsound
on property:dev.bootcomplete=1
stop bootsound
create a text file without extension and put it in /system/bin called "bootsound" (change permission to 777)
Code:
#!/system/bin/sh
if [ -e /system/media/android_audio.mp3 ]; then
sleep 7;
stagefright -a -o /system/media/android_audio.mp3;
fi
exit 0
yes that is your init.d code =D
now your mp3 will begin when boot animation begins
and when your system is booted sound will be cut off if it is still running try it out
you can start and end services on times you want when the phone is booting
so if you make the bootsound a service
you can start it when the boot animation starts and end it when the boot is completed
if you want the file "bootsound" somwhere else like in /system/etc just put it there and edit this line in init.local.rc
Code:
service bootsound /system/bin/bootsound
to
Code:
service bootsound /system/etc/bootsound
you still need to set the permissions of the file to 777
but basically you can put it wherever you want
Meh ^^ nope. That "recommended" version via that init.local.rc one was what I tried first.
Under whatever circumstances this file is not executed/read on bootup. Either this works nor:
>$ service check bootsound
says bootsound is established as a service. in this init.local.rc is also another "service called "compcache" and this service is also not listed in
>$ services list
Thus I combine this init.local.rc is not read.
I also tried chenging permissions of that init.local.rc (0,0,755) but this all makes no sense and I stopped going deeper there and used the init.d version that worked
I guess I've to grep the PID of stagefright and then kill it after 21 seconds (the sound runs 20 seconds) ;O. That would be an ugly hack and that's why I am looking for a better solution.
Why dont you guys simply include into ramdisk?, anyway ramdisk gets extracted on each boot
After you guys figure out a elegant solution for this, would be nice to see a version for Slade's CM.
Sent from my X10 Mini Pro w/ Slade's MiniCM6 6.01
D4rKn3sSyS said:
Why dont you guys simply include into ramdisk?, anyway ramdisk gets extracted on each boot
Click to expand...
Click to collapse
My first hand on ramdisk made me a lucky backup-restore-guy
Well, I'd like to have it "add on like" so changes in ramdisk would more or less mean there is no nice way back if you decide you don't like it.
Well, let's find out why this "init.local.rc" file is not read or which alternative 'persistant' file can be used as init one.
Nice snoopo this works flawlessly!
Sent from my mini pro running CyaNoComb by d4
Snopoo try to put the inimical stuff I told you in a user unit should just be working
Think it is a faulty ramdisk if it don't run init.local you can rewrite it or just add an user init
Sent from my Optimus 2X using XDA Premium App
owain94 said:
Snopoo try to put the inimical stuff I told you in a user unit should just be working
Think it is a faulty ramdisk if it don't run init.local you can rewrite it or just add an user init
Sent from my Optimus 2X using XDA Premium App
Click to expand...
Click to collapse
@ owain its long time since i have seen your any post. well i hear that dark is not less then 95% active while slade is stoping to support this rom, so we are in middle, (as per norries), can you finilize this rom,,,,,, i know my question is very noob and insane. but i just want to know your views.
thanks
shravanchoudhary9 said:
@ owain its long time since i have seen your any post. well i hear that dark is not less then 95% active while slade is stoping to support this rom, so we are in middle, (as per norries), can you finilize this rom,,,,,, i know my question is very noob and insane. but i just want to know your views.
thanks
Click to expand...
Click to collapse
Im really sorry saying this, but owain it's not coming back, and he dont have a mimmi (yes, he explode him mimmi ).
@dark thanks,
can you please tell me what is nvm thread...
I am working on it.

[ADDON][X10] BootSounds for CyanogenMod/MiUI ROMS [v01]

[ info ]
so guys here is a small update.zip to flash on ur CM or MIUI ROM to enable bootsounds!
the sounds will be played during bootanimation!
i have tested this to work on latest CM7 [ARC] and it should work on other devices as well...
Users of my kernel (DooMKernel for CM7/MIUI [ARC/PLAY]) need not bother with this as my kernel already has this inbuilt
[ how to install bootsounds ]
just flash the provided update.zip via CWM5 recovery and reboot device to hear "DROIDDD"!!!
[ how to change bootsounds ]
u can surely have ur own music/file played during boot
for this just replace the file /data/local/android_audio.mp3 with ur own file
[ how to disable bootsounds ]
remount /system as RW
open RootExplorer and modify /system/build.prop
at the end of the file will be
Code:
ro.config.play.bootsound=1
just replace the 1 with 0 to disable the bootsounds!
save file and reboot
[ download link ]
DooMLoRD-BootSounds-CM7-v01-ENABLER.zip
[ additional info ]
this should work on any Andorid device which has CM/MIUI
just replace the update-binary and correct the updater-script syntax for ur device
[ references/sources ]
This is based on the files/info posted at:
How to add a bootsound to CyanogenMod
I have a question
Will this work on stock roms?
Works on fxp047
Hi Bro,
Just flashed on fxp047 and phone got stuck on boot logo, had to take battery out to get the phone to reboot, whilst rebooting no boot sounds either.
I am using fxp kernel if that helps any??
EDIT... Ok i have it working now, my problem was that i delete boot animation zip in system media and also in system/bin, i do it for faster boot, if you want the boot sound to work you need these files.
Thanks Doom for some more great work.
sahibunlimited said:
I have a question
Will this work on stock roms?
Click to expand...
Click to collapse
I wouldnt have thought so, DooMLoRD would have said otherwise, however, I would appreciate this on stock ROM if it was possible....
No need for adding anything in miui .
Just rename what you want (mp3) to bootaudio.mp3 & put it in system/media folder .
Doesn't work on CM7 ZMOD, By the way I checked & the files in the package aren't even copied to phone
Edit: sorry I just re-checked & the files have been copied but it just doesn't work
Edit: Oh just saw your edited post below, Yeah I knew it's highly unlikely that it would work but I had to try you know hehe, thanks
sahibunlimited said:
I have a question
Will this work on stock roms?
Click to expand...
Click to collapse
i had tried to get it working on stock but the stagefright binary has lots of dependencies so not really sure if it can be...
may be i should look into the system folder of the Galaxy S SCL i have, that one has bootsounds at boot even on stock...
riginal said:
Doesn't work on CM7 ZMOD, By the way I checked & the files in the package aren't even copied to phone
Click to expand...
Click to collapse
it works on ROMs who use CM ramdisk...
as far as i remember z's ROM is based on stock ramdisk...
DooMLoRD said:
i had tried to get it working on stock but the stagefright binary has lots of dependencies so not really sure if it can be...
may be i should look into the system folder of the Galaxy S SCL i have, that one has bootsounds at boot even on stock...
Click to expand...
Click to collapse
CHeers...
Your thanks meter is turning into a blur
Oodie said:
No need for adding anything in miui .
Just rename what you want (mp3) to bootaudio.mp3 & put it in media folder .
Click to expand...
Click to collapse
Where is the media folder?
Works like a charm!
Just flashed the zip on FXP047 and booted with 'Drroooiiiidd'
Question, if I replace the audiofile, do I have to give it the same name? And can I also change bootanimation?
EDIT: Changed the bootanimation and renamed the file to android_audio.mp3, Works perfectly!
Jockard said:
Where is the media folder?
Click to expand...
Click to collapse
never mind that... found it! XD
nice work )
I tried, just in case, on the TEAM rom, and it doesn't work !
So i think it doesn't work too on Stock rom !
Does not work on miui cobrato 1125.
Oodie said:
No need for adding anything in miui .
Just rename what you want (mp3) to bootaudio.mp3 & put it in system/media folder .
Click to expand...
Click to collapse
For Miui roms this method is working. At Least For Miui pRiME 4.2 .
Doom can u pls make it for all kind of Roms ? Stock and other ones ... Thanks in advance
Not work on th go cm v3
Sent from my SO-01C using Tapatalk
barepe said:
Not work on th go cm v3
Sent from my SO-01C using Tapatalk
Click to expand...
Click to collapse
probably its best to take it up with the developer of that ROM...
this will work on pure CM based... also this needs CM ramdisk to function correctly...
mundy725 said:
Doom can u pls make it for all kind of Roms ? Stock and other ones ... Thanks in advance
Click to expand...
Click to collapse
i am trying to find a solution for stock roms
Just flahed (with cwmrec) this on FXP47 using CobV6DoomKernel for fxp (1113) and no boot sounds am i missing something? the line has been added to build prop, but no audio file in system/media - just the bootanim and audio folder.
Edit: I tried placing an audio file "/data/local/android_audio.mp3" but still no joy
Also tried on Doom v5a FXP kernel / no joy
Sorry if its just me being dumb - any ideas what i am doing wrong anyone?!
Thanks
I've been using bootsounds in my MIUI firmware without fix/addon.
Its simply - place bootaudio.mp3 into 'media' in your rom.

[DEV][WiP] ramdisk-hijack - load custom ramdisk [4.3]

Ramdisk Hijack - what is it?
- We are trying to load a custom ramdisk in order to be able to load a non-Sony based ROM on a locked bootloader using 2nd-init. This is a work in progress.
How can I help?
- My source code is here: https://github.com/keiranFTW/huashan_ramdisk-hijack also, you will find how to install this on there too.
You'll probably wonder why I'm trying to hack the stock ramdisk in - because my phone is my only device, I also need to use it as a phone. Once I can fix things this way I can move to using CyanogenMod Ramdisk.
Progress? CyanogenMod is currently booting on the phone but there are lots of non-working features.
This is not a ROM, do not install this unless you know what you are doing.
On completion I will give you this in form of an update.zip
#keiran
Any developers willing to help me out here?
I am busy with personal work, will check this out later... FYI you can't boot everything on same kernel... Specific kernel patches are required for some ROMs... Without those patches crucial rom features may not work...
Sent from my C6902 using xda app-developers app
DooMLoRD said:
I am busy with personal work, will check this out later... FYI you can't boot everything on same kernel... Specific kernel patches are required for some ROMs... Without those patches crucial rom features may not work...
Sent from my C6902 using xda app-developers app
Click to expand...
Click to collapse
I know this, and some of these kernel patches can be loaded as a module or even the ROM source code edited to suit the needs of the stock kernel.
Edit: I have had many people asking me if kexec could work, and the answer is no, probably not. Why? Because it requires a in-kernel patch as well as a module and so it is not possible to get it to work as we cannot flash a new kernel.
I have an idea and I'll start to merge changes soon
Sent from my C5303 using Tapatalk
I am not experienced in kernel dev but maybe i can contribute in limited extent.
Unluckily, i also got "NO" in bootloader unlockable and very dissappointed to see that.
I hope someone will be able to find an alternative.
Have you looked at this?
http://www.xda-developers.com/android/locked-bootloader-xperia-s-and-want-cm10-no-problem/
Work in peace...
OP
can you link me to some good references about chroot? I got the basic understanding, want to try it on linux on my laptop.
Closest analogy i can draw is the linux live cd, which runs the OS live without installation. If thats the case, and if we succeed in this process, we could use some partition to dump cm and run it from there.
But lets not get too far, im still in infancy stage.
Regards
Yasir
finally Got the basics of what you are doing... You are essentially doing the same thing letama atis112 and company did to run cm10 usng stock kernel, but hijacked stock ramdisk to run cm ramdisk.... Seems a good idea but will only work for CM10 (4.1 based) and later when locked bootloader gets 4.3, we could get cm10.2 as well. If you are doing the same thing they did, then hopefully it will work soon. If its something different, then wish u luck, ill keep tracking ur progress.
Yes, he is trying to have it done the same way as letama, atis and others with one minor difference - we don't have pre_hwconfig.sh, so he's trying with chargemon. Older ramdisk Keiran's github worked fine, but after some commits he made it doesn't boot. When I try with older ramdisk and newest step2.sh, everything except sdcard works fine. I have an idea - what if we kill every process with every possible way(killall5, pkill,etc) and then start it manually, by calling them from /system/bin? Maybe it's the way.
Some offtop here:
Maybe the kernel from leak works on locked BL's? If DooM haven't changed anything in it - it's very possible. Maybe someone with 4.3 leak on their phone would try locking the bootloader?(Of course only if that person knows how to unbrick, if something goes wrong).
MrSteve555 said:
Yes, he is trying to have it done the same way as letama, atis and others with one minor difference - we don't have pre_hwconfig.sh, so he's trying with chargemon. Older ramdisk Keiran's github worked fine, but after some commits he made it doesn't boot. When I try with older ramdisk and newest step2.sh, everything except sdcard works fine. I have an idea - what if we kill every process with every possible way(killall5, pkill,etc) and then start it manually, by calling them from /system/bin? Maybe it's the way.
Some offtop here:
Maybe the kernel from leak works on locked BL's? If DooM haven't changed anything in it - it's very possible. Maybe someone with 4.3 leak on their phone would try locking the bootloader?(Of course only if that person knows how to unbrick, if something goes wrong).
Click to expand...
Click to collapse
I assume you have the same issue of unlockable BL? anyways, i am waiting for 4.3 so that after playing with, we can try and run cm10.2 at least... + miui
I've redone your work, and i can succesfully hijack ramdisk...
I've CM booted up, but:
1. graphical glithes (i know the solution)
2. no baseband
3. no sdcard (inner, external)
But it's improvement
Source: https://github.com/dh-harald/hijack-ramdisk-huashan
dh.harald said:
I've redone your work, and i can succesfully hijack ramdisk...
I've CM booted up, but:
1. graphical glithes (i know the solution)
2. no baseband
3. no sdcard (inner, external)
But it's improvement
Source: https://github.com/dh-harald/hijack-ramdisk-huashan
Click to expand...
Click to collapse
If my girlfriend would let me and I was near you I would kiss you right now :*
Jokes aside, I think I might be able to fix SD card and the rest
Sent from my C5303 using Tapatalk
I dont think any processes with late_start class are working... This would explain SD and also network.
Try:
/system/bin/sdcard /data/media /mnt/shell/emulated 1023 1023
/system/bin/qseecomd
/system/bin/secchand
Anything really..
When I was hijacking ramdisk before but loading the stock ramdisk just for testing I also lost network as well as sdcard, and I'm sure that I lost WiFi too. A possible solution would be *not* to stop these services maybe?
Sent from my C5303 using Tapatalk
New source code is at: https://github.com/keiranFTW/huashan_ramdisk-hijack
- Updated to work with Android 4.3
- Using 2nd-init instead of chroot
- Recovery included (not sure if working)
#keiran
hijack
Hy
I modified the hijack source and recompiled the cm10.2 was.
hijack
dev tree
vendor blobs
I made a new thread on xda.
bagyusz said:
Hy
I modified the hijack source and recompiled the cm10.2 was.
hijack
dev tree
vendor blobs
I made a new thread on xda.
Click to expand...
Click to collapse
Hey,
Thanks, your changes have helped a lot, so I have expanded on them to make it possible to integrate into AOSP more easily. I also use /system/bin/chargemon instead of system/bin/wipedata, it is earlier in boot process.
I also might want to note that you are not killing all processes, you need awk {'print $2'} instead of awk {'print $2'}
But yeah, great work.. you did what many others couldnt.
My repositories:
dev tree
vendor blobs
hijack
Feel free to add pull requests, and i can add you to the repository if you like.
Keiran
If only this could be done in other devices, as I also have a locked Xperia, but it's a Live Walkman. Unfortunately it also has the Unlock Bootloader: "NO", so if could also be ported to other devices it would be great. Not forcing or pushing you, but trying something more updated than 4.0.4 would be great
is this...?
@KeiranFTW & @bagyusz
sick work guys way to not never give up and accomplish what was thought to not be possible goes without saying one of the best development breakthroughs this year!
hey, in either of your opinions would this in some way be portable to our locked as **** bls on S4 Verizon and AT&T? We havent had ASOP capabilities or 4.4 for that matter yet and everyone is stuck on safestrap 4.3 stock kernels. Any help on this would be much appreciated. Its either trying to port this method or trying that new AnyKernel2.0 today not trying to hard brick heh
msm7x27
KeiranFTW said:
.
Click to expand...
Click to collapse
would this method work on any msm7x27 after pointing partitions ?? @KeiranFTW
deleted.
I still don't know what you're talking about. eace
Sent from my C5303 using Tapatalk
concerning hijack
KeiranFTW,
i am sorry to bother you with what may or may not be a 4 square dev question(s).
can i attempt something similar without building custom kernel? ( i read evrything i can but, lack funds for proper hardware so am limited.)
can i alter the insmod-ing of kernel modules to come as close to the beginning of the boot process as possible and have hardware functional in spite of slaying zygote/android userspace ?
this thread http://forum.xda-developers.com/showthread.php?t=1937328 outlines a means to
mount?load? a loop device from init.rc
my thought is as i have a gt-p5210 x86 device it might be possible to fire up (no matter how ugly)
a livecd or straight forward ext4 linux.img.
I would be interested in any insight/ideas you may have toward that end.
thank you for your time.
m

Categories

Resources