2nd-init - Sony Tablet S

There is an app called 2nd init recovery in the Market. It's like safestrap or boot menu manager (I think.) Can anyone risk to try it? Or should I risk it? Will it work?
Maybe we can get a chance to flash a custom recovery or something...?
I don't even know it's the right section to start thread.
Sent from my Sony Tablet S using xda app-developers app
Sorry for bad English.

Might have to check it out
Sent from my LT28i using xda app-developers app
---------- Post added at 04:21 PM ---------- Previous post was at 04:16 PM ----------
Looks really crappy. And only supports 2 devices I've never heard of highly doubt it works it is a bootstrap
Sent from my LT28i using xda app-developers app

I should find a well working 2nd init method. Continue to research. lol
Sent from my Sony Tablet S using xda app-developers app

Never mind. I'm sleepy. Will search tomorrow.
Sent from my Sony Tablet S using xda app-developers app

I tried it and it does not flash anything at all.
Basically it does nothing on our device.
Tested on the Sony Tablet S.
Sent from my Nexus 4 using xda app-developers app
---------- Post added at 06:48 AM ---------- Previous post was at 06:26 AM ----------
Try lte2recovery here: http://androidforums.com/spirit-4g-...2971-2nd-init-recovery-985hpakick-spirit.html
If that works then only use the reboot option in the app since your device will be factory reset by rebooting in an other way, only use the 2nd Init Reboot Recovery (not like the option will work anyway so you have to go into it manually) (read the thread fully).
Sent from my Nexus 4 using xda app-developers app

andyabc said:
I tried it and it does not flash anything at all.
Basically it does nothing on our device.
Tested on the Sony Tablet S.
Sent from my Nexus 4 using xda app-developers app
---------- Post added at 06:48 AM ---------- Previous post was at 06:26 AM ----------
Try lte2recovery here: http://androidforums.com/spirit-4g-...2971-2nd-init-recovery-985hpakick-spirit.html
If that works then only use the reboot option in the app since your device will be factory reset by rebooting in an other way, only use the 2nd Init Reboot Recovery (not like the option will work anyway so you have to go into it manually) (read the thread fully).
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Tried yet. Nothing.
Sent from my Sony Tablet S using xda app-developers app

I'm working on porting safestrap to XTS, but STS should be doable to with some help from someone that owns the device. Will post more info when I get home from work
Sent from my XT910 using Tapatalk 4 Beta

pajn said:
I'm working on porting safestrap to XTS, but STS should be doable to with some help from someone that owns the device. Will post more info when I get home from work
Sent from my XT910 using Tapatalk 4 Beta
Click to expand...
Click to collapse
And I'm working for STS but I have no idea for that. I'm decompiled the apk file and reading scripts. Does it work? Can you help me?
Thanks...:laugh:
Sorry for bad English.

smgdev said:
And I'm working for STS but I have no idea for that. I'm decompiled the apk file and reading scripts. Does it work? Can you help me?
Thanks...:laugh:
Sorry for bad English.
Click to expand...
Click to collapse
Send me this files:
/proc/partitions
/proc/mounts
/proc/mtd
/init.rc (and all subfiles like init.something.rc)
/fstab (can be named something.fstab or fstab.something), also in /etc
/kernel or /zImage if you have it
And the output of
ls -al /dev/block
do also search in this folder for a folder named "by-name" (may be in a subfolder so do some lookaround)
and do a ls -al on that folder to.
I think that is a good start.

pajn said:
Send me this files:
/proc/partitions
/proc/mounts
/proc/mtd
/init.rc (and all subfiles like init.something.rc)
/fstab (can be named something.fstab or fstab.something), also in /etc
/kernel or /zImage if you have it
And the output of
ls -al /dev/block
do also search in this folder for a folder named "by-name" (may be in a subfolder so do some lookaround)
and do a ls -al on that folder to.
I think that is a good start.
Click to expand...
Click to collapse
OK. I will send them in 10 minutes.
And I think I ported the recovery-check, recovery-install and recovery-uninstall script files. I will attach them too. I will be happy if you send your feedbacks.
One more question, how can i find the kernel image file?
Thanks...

smgdev said:
OK. I will send them in 10 minutes.
And I think I ported the recovery-check, recovery-install and recovery-uninstall script files. I will attach them too. I will be happy if you send your feedbacks.
One more question, how can i find the kernel image file?
Thanks...
Click to expand...
Click to collapse
Here we go...Attached.:laugh:
But there's no mtd file in /proc directory ,there's no by-name or something in /dev/block directory or somewhere, and fstab file.
I will add kernel image as soon as I find it.
Sorry for bad English.
--------
EDIT
Forgot to add script files i mentioned i my previous post.
Added. --files.zip

smgdev said:
Here we go...Attached.:laugh:
But there's no mtd file in /proc directory ,there's no by-name or something in /dev/block directory or somewhere, and fstab file.
I will add kernel image as soon as I find it.
Sorry for bad English.
--------
EDIT
Forgot to add script files i mentioned i my previous post.
Added. --files.zip
Click to expand...
Click to collapse
Thanks. Looks similar to the XTS.
You'll probably not find the kernel image. I just thought if it was in the rootfs but if it isn't we can't reach it (it lies in the encrypted hidden.img).
It isn't necessary but would be a nice touch.
There are no mtd in proc on XTS either. Same there it's usually there and could help a bit but if it isn't that isn't a big of a deal.
On big difference seems to be how the sdcard is managed (XTS have it in /data/media where the STS are using vold) could you se if there is a vold.fstab (or similar) in /etc?
When I have some initial things to test I will post.

Here you are. Vold.fstab

Related

How to get HDMI mirroring? SOLVED

Is there a way to get the HDMI mirroring to work running eclipse 1.3?
Sent from my DROID X2 using XDA App
dodge_408 said:
Is there a way to get the HDMI mirroring to work running eclipse 1.3?
Sent from my DROID X2 using XDA App
Click to expand...
Click to collapse
Delete the current dockservice.apk from system/app
Extract the dockservice.apk from 1.3rc2(or 1.1 eclipse)
Push it (u know...copy and paste it) to system/app and fix permission to rw-r--r-- (I also changed owners to root)
Reboot
presto!! Working mirror
I dud all that using root explorer to extract the dockservice.apk from 1.3rc2 zip
And to delete old one and push it in
Would this work with Molten too?
Sent from my DROID X2 using XDA App
Could someone post the dockservice.apk for me? Would be much appreciated
Sent from my DROID X2 using XDA App
IDMA.DROID.X2 said:
Would this work with Molten too?
Sent from my DROID X2 using XDA App
Click to expand...
Click to collapse
I am not sure...
maybe ..
If not...try pulling the dockservice apk from the naked or just plain deodexed 2.3.4.
im not sure if the eclipse ones are signed different.
If its already broken u can't really break it anymore by switching out the dockservice apk.
Unless u use the docks...I don't personally lol...just hdmi for me
---------- Post added at 08:51 PM ---------- Previous post was at 08:50 PM ----------
dodge_408 said:
Could someone post the dockservice.apk for me? Would be much appreciated
Sent from my DROID X2 using XDA App
Click to expand...
Click to collapse
Gimmie a second..
---------- Post added at 08:53 PM ---------- Previous post was at 08:51 PM ----------
Here ya go http://db.tt/pBHjZ2Xt
its the one I used from 1.3rc2
---------- Post added at 08:57 PM ---------- Previous post was at 08:53 PM ----------
Remember...
U cannot just install this by pressing install apk
u MUST push it to system app since it is a system process.(I am almost 100% certain it wont work if u try to just install...it will most likely fail the install)
Thank you very much worked perfectly
Sent from my DROID X2 using XDA App
dodge_408 said:
Thank you very much worked perfectly
Sent from my DROID X2 using XDA App
Click to expand...
Click to collapse
Can u PLEASE put "SOLVED" in beginning of thread title
I KNOW others are wondering how to fix this and would make it easier to find solution
Thanks!
Not a problem I'm sure a few of us would find it useful
Sent from my DROID X2 using XDA App
ashclepdia said:
Can u PLEASE put "SOLVED" in beginning of thread title
I KNOW others are wondering how to fix this and would make it easier to find solution
Thanks!
Click to expand...
Click to collapse
Ash thanks for the file. Today was my first day off since you offered to give me the file via drop box. I am still pretty new at this and did not have a drop box myself. However this morning I found that you already posted the file. I have downloaded the serrvice dock apk file and I am going back to eclipse right now to give it a try. Thanks Again for the help!!
Can't replace or delete the dock apk in system/app with the older version. Says its a read only file and cannot be changed. Any ideas?
Tapatalkin' from my eclipsed DROIDX2
lhkjohn said:
Can't replace or delete the dock apk in system/app with the older version. Says its a read only file and cannot be changed. Any ideas?
Tapatalkin' from my eclipsed DROIDX2
Click to expand...
Click to collapse
Use root explorer. Hit the mount r/w and turn it into r/o then you can. You will also need to change the permissions after you install it.
[X] [X][ ]
[X] [ ] [ ]
[X] [ ] [ ]
Check these boxes to get permissions right.
Travisdroidx2 said:
Use root explorer. Hit the mount r/w and turn it into r/o then you can. You will also need to change the permissions after you install it.
[X] [X][ ]
[X] [ ] [ ]
[X] [ ] [ ]
Check these boxes to get permissions right.
Click to expand...
Click to collapse
thanks. I missed that question.
this is 100% correct.
other file explorers can work too(root browser is another)
but I swear by root explorer.that little gray box at top to change to mount r/w makes life so easy.
I bought root explorer a long time ago and am glad I did. its really the only file explorer u will ever need.
to be able make ANY changes to files in /system it needs to be mounted as r/w.
and no need to mount r/o afterwards since the reboot u need to do to get it working will remount as r/o anyways.
Travisdroidx2 said:
Use root explorer. Hit the mount r/w and turn it into r/o then you can. You will also need to change the permissions after you install it.
[X] [X][ ]
[X] [ ] [ ]
[X] [ ] [ ]
Check these boxes to get permissions right.
Click to expand...
Click to collapse
Thanks man! Worked like a charm
Tapatalkin' from my eclipsed DROIDX2

S3 music player app

Has anyone managed to port the Galaxy s3 music player to the Galaxy note i717? I saw it for the GT-7000 but wasn't sure if it would work. I am on the Goldie Only One ICS UCLE2 rom btw. Thanks for the help!! :cyclops:
Post a link i will try it
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
GS3 MusicPlayer app works for me!
Hi guys, here is GS3 MusicPlayer app to all our GS2 phones.
(Obviously music effects don't work)
DOWNLOAD
MIRROR 1
MIRROR 2
Instructions:
Flash the zip through CMW or extract manually using a file manager and copy apk to system/app and lib to system/lib
If you like my work,give me a thank or even better consider donate the person who got this done
Nice work this guys did, since the square works!
for me cmw dint work so unzip and look for the apk and place the app in systtem/app Manually = just rename the old one in case something goes wrong u can always have it back thanks
Click to expand...
Click to collapse
---------- Post added at 08:38 AM ---------- Previous post was at 08:33 AM ----------
BigBison420 said:
Post a link i will try it
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
Click to expand...
Click to collapse
i place it for u!
RIVANH said:
Hi guys, here is GS3 MusicPlayer app to all our GS2 phones.
(Obviously music effects don't work)
DOWNLOAD
MIRROR 1
MIRROR 2
Instructions:
Flash the zip through CMW or extract manually using a file manager and copy apk to system/app and lib to system/lib
If you like my work,give me a thank or even better consider donate the person who got this done
---------- Post added at 08:38 AM ---------- Previous post was at 08:33 AM ----------
i place it for u!
Click to expand...
Click to collapse
i flashed in CWM about 5 times, but it's not working for me... fixed permissions and everything. Somebody else try
It looks like its for the GS2, if you read what was posted. Unless IM confused, but thats what i read
If you read his entire post in the 2 quotes it says flashing in cwm didn't work so he placed it in system\app manually
carhigh said:
It looks like its for the GS2, if you read what was posted. Unless IM confused, but thats what i read
Click to expand...
Click to collapse
Thanks buddy for pointing out the completely obvious... Did it ever occur to you we might just be trying to see if it's compatible with the note? Placed manually in /system/app no go. You brain surgeons can give it a try tho
edit: im running collective remix, i forgot that most stock sammy apps require touchwiz which i dont have. If your.rom has.TW go for it
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
BigBison420 said:
Thanks buddy for pointing out the completely obvious... Did it ever occur to you we might just be trying to see if it's compatible with the note? Placed manually in /system/app no go. You brain surgeons can give it a try tho
edit: im running collective remix, i forgot that most stock sammy apps require touchwiz which i dont have. If your.rom has.TW go for it
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
Click to expand...
Click to collapse
What an ass. I don't know what I was thinking when I tried to explain it wasn't for the note as was requested the op
Sent from my SAMSUNG-SGH-I717 using xda premium
Cwm zip worked for me. Didn't work till i mounted system in cwm before i flashed it though
Edit: This is on FLappjaxxx uclf6
Sent from my SAMSUNG-SGH-I717 using xda premium
thatguyitsme said:
Cwm zip worked for me. Didn't work till i mounted system in cwm before i flashed it though
Edit: This is on FLappjaxxx uclf6
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
N00b Moment. So system isn't mounted by default?
Correct me if i'm wrong, but it'd be nice if CWM had some method for the app, or for devs to implement auto mounting of necessary partitions or folders.
I'm flashing sometimes, but nothing...
Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
So it wont work on the ucle2?
I mounted the system and got it to work on UCLe2 but now it wont play any songs. any ideas?
RIVANH said:
Hi guys, here is GS3 MusicPlayer app to all our GS2 phones.
(Obviously music effects don't work)
DOWNLOAD
MIRROR 1
MIRROR 2
Instructions:
Flash the zip through CMW or extract manually using a file manager and copy apk to system/app and lib to system/lib
If you like my work,give me a thank or even better consider donate the person who got this done
Nice work this guys did, since the square works!
Click to expand...
Click to collapse
just wanna say thanks this is super cool. why the sg3 get all the cool stuff. ahh well we can always port it
Vicious Von said:
just wanna say thanks this is super cool. why the sg3 get all the cool stuff. ahh well we can always port it
Click to expand...
Click to collapse
How did you get it to work?
BInspirinG said:
How did you get it to work?
Click to expand...
Click to collapse
I pretty much did what was said in the instructions. I tried flashing and that ain't work so I extracted the files and placed the apk in system/app and the lib in system/lib then changed the permissions respectively.
from my big a$$ phone
Vicious Von said:
I pretty much did what was said in the instructions. I tried flashing and that ain't work so I extracted the files and placed the apk in system/app and the lib in system/lib then changed the permissions respectively.
from my big a$$ phone
Click to expand...
Click to collapse
What file manager did you use to place the apk and lib? Did you also have to mount when you transferred those files?
I've done the exact same thing, but no go for me. I'm unsure what I'm doing.
Nobody else mounted system in cwm and flashed the zip? Worked perfect over here
Sent from my SAMSUNG-SGH-I717 using xda premium
For me I got it to work by copied the apk over to the systems/apps dir. Renamed the original then changed the permissions. Works pretty good. The lock screen part seems to have issues for the display. It will show just a default music icon. then when i change a song using the controls, it will find the right text to display. Anyone else seeing that?
Thanks for sharing!
thatguyitsme said:
Nobody else mounted system in cwm and flashed the zip? Worked perfect over here
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
I've tried mounting it in TWRP, but no go for me. Unless I'm mounting it incorrectly?

[CWM][MOD][FONT] System-wide Emoji Support (Gingerbread & ICS)

This CWM zip will enable emoji compatibility throughout the system. I believe Jellybean supports it natively and some ICS roms (e.g., CM9) have it. I'm not sure if CM9 support is only in the messaging app, but this zip enables it system wide, which means you'll be able to see them in the browser, Twitter apps, etc. Unfortunately, they only appear in black and white. If there are any problems with flashing, you can manually extract the files to the appropriate directory (/system/fonts) with 644 permissions.
Flash in recovery or manually extract contents
Download
Download 2 (for Shostock 2 and presumably other Samsung ICS roms)
[Insert disclaimer here]
Wow! Thanks a ton for this!!
Sent from my SGH-I777 using xda premium
This is sad. 27 downloads and a total of 2 thanks. What's wrong with people?
Sent from my SGH-I777 using xda premium
I tried to flash through CWM, but I kept getting an error. Extracted the font files to the font folder with the given permissions in the first post. It wouldn't let me change the permissions.
Sent from my SGH-I777 using xda app-developers app
EhHowzit808 said:
I tried to flash through CWM, but I kept getting an error. Extracted the font files to the font folder with the given permissions in the first post. It wouldn't let me change the permissions.
Sent from my SGH-I777 using xda app-developers app
Click to expand...
Click to collapse
Use root explorer?
Sent from my GT-I9100 using xda app-developers app
EhHowzit808 said:
I tried to flash through CWM, but I kept getting an error. Extracted the font files to the font folder with the given permissions in the first post. It wouldn't let me change the permissions.
Sent from my SGH-I777 using xda app-developers app
Click to expand...
Click to collapse
What's the error.
And to make changes to system files, you have to mount r/w (top right corner if you're using root explorer).
Status 0
Sent from my GT-I9100 using xda app-developers app
willbs94 said:
Status 0
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
Hm, update-binary. What rom are you running?
Simba501 said:
What's the error.
And to make changes to system files, you have to mount r/w (top right corner if you're using root explorer).
Click to expand...
Click to collapse
I also got the status error "0" in cwm.
I'm using Root Browser lite. Not sure how to mount to read/write.
EDIT:
I managed to get it working. I had to tweak Root Browser lite to allow me to change permissions. I noticed when you extract the files into the /system/font folder, it doesn't overwrite the old ones; it just renames the extracted files with a "-copy" suffix. I deleted the old files then removed the "-copy" from the extracted files. Rebooted and confirmed its working now.
Thanks for this mod! Now I can see what iPhone users are emoji-ing about...lol
Sent from my SGH-I777 using xda app-developers app
EhHowzit808 said:
I also got the status error "0" in cwm.
I'm using Root Browser lite. Not sure how to mount to read/write.
EDIT:
I managed to get it working. I had to tweak Root Browser lite to allow me to change permissions. I noticed when you extract the files into the /system/font folder, it doesn't overwrite the old ones; it just renames the extracted files with a "-copy" suffix. I deleted the old files then removed the "-copy" from the extracted files. Rebooted and confirmed its working now.
Thanks for this mod! Now I can see what iPhone users are emoji-ing about...lol
Sent from my SGH-I777 using xda app-developers app
Click to expand...
Click to collapse
Good stuff. Wasn't exactly sure which update-binary to use (hence the rom question).
Simba501 said:
Good stuff. Wasn't exactly sure which update-binary to use (hence the rom question).
Click to expand...
Click to collapse
I'm running SHOstock2
Sent from my SGH-I777 using xda app-developers app
Simba501 said:
This CWM zip will enable emoji compatibility throughout the system. I believe Jellybean supports it natively and some ICS roms (e.g., CM9) have it. I'm not sure if CM9 support is only in the messaging app, but this zip enables it system wide, which means you'll be able to see them in the browser, Twitter apps, etc. If there are any problems with flashing, you can manually extract the files to the appropriate directory (/system/fonts) with 644 permissions.
Download - Flash in recovery.
Download 2 (for Shostock 2 and presumably other Samsung ICS roms)
Click to expand...
Click to collapse
i had a question, i installed this but did not do the permissions part (644) i just copied over the files to destination. i get the emojis just in black and white is that normal? i mean i only ask cuz on my friends ipod his emoji are in color. did i do something wrong? thanks let me know if i did it correctly
djmurphix said:
i had a question, i installed this but did not do the permissions part (644) i just copied over the files to destination. i get the emojis just in black and white is that normal? i mean i only ask cuz on my friends ipod his emoji are in color. did i do something wrong? thanks let me know if i did it correctly
Click to expand...
Click to collapse
That's correct. I thought I stated that in the OP, but forgot to mention it. Kind of a bummer that it's not in color, but it's better than seeing those empty squares lol.
djmurphix said:
i had a question, i installed this but did not do the permissions part (644) i just copied over the files to destination. i get the emojis just in black and white is that normal? i mean i only ask cuz on my friends ipod his emoji are in color. did i do something wrong? thanks let me know if i did it correctly
Click to expand...
Click to collapse
Since we're replacing the font files with modded ones, the emojis act like regular fonts. They're supposed to be black and white...unless you change your phone's font color to something else.
I think (in theory), the emojis on the iPhone are linked to a certain image based on the character combinations... : ) =, : ( = etc...
Sent from my SGH-I777 using xda app-developers app
EhHowzit808 said:
Since we're replacing the font files with modded ones, the emojis act like regular fonts. They're supposed to be black and white...unless you change your phone's font color to something else.
I think (in theory), the emojis on the iPhone are linked to a certain image based on the character combinations... : ) =, : ( = etc...
Sent from my SGH-I777 using xda app-developers app
Click to expand...
Click to collapse
Oh I see, bummer but yea its better than having squares!
Sent from my SGH-I777 using xda premium
Will this work with MIUI 2.7.27 (CM9 based)?
tsantsa said:
Will this work with MIUI 2.7.27 (CM9 based)?
Click to expand...
Click to collapse
It should. I'm on CM9.
Sent from my Galaxy S2
Simba501 said:
It should. I'm on CM9.
Sent from my Galaxy S2
Click to expand...
Click to collapse
I figured. I'll try it out and let you know.
---------- Post added at 11:40 PM ---------- Previous post was at 10:41 PM ----------
Status 0
Sent from my SGH-I777 using xda app-developers app
tsantsa said:
I figured. I'll try it out and let you know.
---------- Post added at 11:40 PM ---------- Previous post was at 10:41 PM ----------
Status 0
Sent from my SGH-I777 using xda app-developers app
Click to expand...
Click to collapse
Grr. Thanks.
To those having cwm issues, extract the contents and place them manually.

[Q] Bootanimation help! (NO Root)

I have a Samsung Galaxy Ace Plus and I want to change the boring boot animation to a custom one however I'm not rooted and I found out about the adb command method but it's not working with me i do: adb push bootanimation.zip /data/local in command promp and everything goes well even when I test it: adb shell bootanimation it works but when it comes to actually rebooting it just brings up the stock boot animation...
So can anyone help me?
Thanks in advance!
You need root to change bootanimation dude....
Sent from my DROID2 using xda premium
gagdude said:
You need root to change bootanimation dude....
Sent from my DROID2 using xda premium
Click to expand...
Click to collapse
Well, I don't think you're right because I came across tons of websites that said I can...
And rooting isn't an easy option for me because I can't afford to possibly brick my phone or affect it negatively!
So any more options?
Waterfire793 said:
Well, I don't think you're right because I came across tons of websites that said I can...
Click to expand...
Click to collapse
Then how come you haven't changed it already? Root is required to make most system changes so I don't know what sites you're viewing that state otherwise?
Waterfire793 said:
Well, I don't think you're right because I came across tons of websites that said I can...
And rooting isn't an easy option for me because I can't afford to possibly brick my phone or affect it negatively!
So any more options?
Click to expand...
Click to collapse
Do you even know what adb push bootanimation.zip /data/local is? You are putting the bootanimation.zip file into the /data directory which cannot be written to without root.
Also, this is xda. If anything, you are on CNN.com and the "other websites" are tabloid sites. Trust the advice you find here
Sent from my DROID2 using xda premium
Well well I guess I turned out to be wrong!
Thanks for the help guys!!!
gagdude said:
Do you even know what adb push bootanimation.zip /data/local is? You are putting the bootanimation.zip file into the /data directory which cannot be written to without root.
Also, this is xda. If anything, you are on CNN.com and the "other websites" are tabloid sites. Trust the advice you find here
Sent from my DROID2 using xda premium
Click to expand...
Click to collapse
Tons of sites including this one!
I think you should try pushing to system/media OP.
root access is generally irrelevant, the file just needs to be there and have the right name.
If you install the root right, e.g. From xda-developers (usually there are guides how to install) you nearly can't brick it. It's very hard to make a full brick
Sent from my GT-I9001 using xda app-developers app
---------- Post added at 07:38 PM ---------- Previous post was at 07:33 PM ----------
So what i've red before is, that you must have installed root because u need access to the bootanimation files
Sent from my GT-I9001 using xda app-developers app

[Q] How to unpack/repack boot.img in terminal emulator (android?)?

Is there any code or way to unpack n repack boot.img in android's terminal emulator?
I know about repacking n unpacking scripts about windows.
I want to know is that possible in android.
Can anyone help me please!!
shrikant716 said:
Is there any code or way to unpack n repack boot.img in android's terminal emulator?
I know about repacking n unpacking scripts about windows.
I want to know is that possible in android.
Can anyone help me please!!
Click to expand...
Click to collapse
Yes, it is possible. I am currently able to unpack the boot.img and ramdisk, but when compiling the ramdisk with the kernel to make the new insecure boot.img something isn't right. Everytime I flash it I go in to a boot loop. Thinking maybe I am not applying the ramdisk address. As of now, not sure what the cause is.
Modding.MyMind said:
Yes, it is possible. I am currently able to unpack the boot.img and ramdisk, but when compiling the ramdisk with the kernel to make the new insecure boot.img something isn't right. Everytime I flash it I go in to a boot loop. Thinking maybe I am not applying the ramdisk address. As of now, not sure what the cause is.
Click to expand...
Click to collapse
Can u share the code please...
Try replacing only stock kernel or zimage n dont touch ramdisk
shrikant716 said:
Can u share the code please...
Try replacing only stock kernel or zimage n dont touch ramdisk
Click to expand...
Click to collapse
https://www.dropbox.com/s/fy68dxljsxek1kr/boot_manipulation.zip
Sent from my K2_CL using Tapatalk
---------- Post added at 11:10 PM ---------- Previous post was at 11:08 PM ----------
Place unpackbootimg in /system/bin/ with executable permissions. Open up terminal emulator and type unpackbootimg. It will show what to do. My problem right now is packing it. I get boot loops. Not sure why. Anyways, good luck.
Sent from my K2_CL using Tapatalk
---------- Post added at 11:13 PM ---------- Previous post was at 11:10 PM ----------
Ignore the ramdisk.sh (its jacked up). Just unpack the ramdisk manually using terminal emulator. You will need gzip and cpio support on your device though.
Sent from my K2_CL using Tapatalk
---------- Post added at 11:17 PM ---------- Previous post was at 11:13 PM ----------
ramdisk.sh originally looks like this...
Code:
#!/system/bin/sh
Dir=$1
FileName=*ramdisk
cd $Dir
busybox cp -f *ramdisk.gz ./ramdisk/
cd $Dir/./ramdisk
busybox gzip -d *ramdisk.gz
busybox cpio -i -F *ramdisk
busybox rm -f *ramdisk *-ramdisk *.img-ramdisk
busybox touch ok
Sent from my K2_CL using Tapatalk
---------- Post added at 11:31 PM ---------- Previous post was at 11:17 PM ----------
Fixed ramdisk.sh.
Anyways, just place unpackbootimg, ramdisk.sh, and mkbootimg in /system/bin/ then go from there.
Sent from my K2_CL using Tapatalk
@shrikant716
Let me know if you got a boot.img to flash successfully on your device. You might get an arguement or complaint from the cpio command found in the ramdisk.sh. If so, then don't use your eternal or external sdcard. FAT is not welcome by cpio lol. Have to create a new folder in /system then take it from there.
Sent from my K2_CL using Tapatalk
An example from my device
Sent from my K2_CL using Tapatalk
Modding.MyMind said:
An example from my device
Sent from my K2_CL using Tapatalk
Click to expand...
Click to collapse
no success.....can u please elaborate in detail steps.
shrikant716 said:
no success.....can u please elaborate in detail steps.
Click to expand...
Click to collapse
What failed?
Sent from my K2_CL using Tapatalk
http://forum.xda-developers.com/showthread.php?t=2587462
Sent from my K2_CL using Tapatalk
@shrikant716
Check out that link again. New files, better instructions, and works flawlessly. The last one I provided to you was corrupted when being compiled. But I fixed it. It will work now. Just wanted to update you on this since you are looking for such tools.
Sent from my K2_CL using Tapatalk
---------- Post added at 01:27 PM ---------- Previous post was at 01:24 PM ----------
Let me know what you think of it or if there are any ideas you would like to add to make the tools better. The two tools are unmkbootimg and mkbootimg. Unmkbootimg will make the process much easier. Enjoy bro.
Feedback is always encouraged. I also provided the source.
Sent from my K2_CL using Tapatalk
Update: binaries included...
mkbootimg, unmkbootimg, and mkbootfs.
Works with ARM devices.
Have tested this on LOTS of boot.img's and all were successful.
this project was a headache and I almost gave up on it. But at last, it is complete lol.
Sent from my K2_CL using Tapatalk

Categories

Resources