[Q] 3 newbie questions - Galaxy 3 Android Development

All, I received my Samsung Galaxy 3 last friday and I started to play with it a little.
I googled out some of informations required but still have a few questions to ask
1. As Android has preety good SDK in place, is there a way to test my newly cooked ROM on emaulator instead of flashing it on phone directly (risking brick or sth.)
2. Knowing the kernel (2.6.32.9) - is it safe to upload some new binaries to bin directory along with liblaries (to lib of course) without touching existing ones.
3. I'm about to write an app which communicates with my server via socket. To open socket, root privileges are required. The question is - Having SuperUser in place on my phone, will I be asked for root privs or it will go to "Permission denied". Should some steps should be undertaken?
I searched this forum, but for above ones I found no answers.
Thanks in advance.

XiamUser said:
All, I received my Samsung Galaxy 3 last friday and I started to play with it a little.
I googled out some of informations required but still have a few questions to ask
1. As Android has preety good SDK in place, is there a way to test my newly cooked ROM on emaulator instead of flashing it on phone directly (risking brick or sth.)
2. Knowing the kernel (2.6.32.9) - is it safe to upload some new binaries to bin directory along with liblaries (to lib of course) without touching existing ones.
3. I'm about to write an app which communicates with my server via socket. To open socket, root privileges are required. The question is - Having SuperUser in place on my phone, will I be asked for root privs or it will go to "Permission denied". Should some steps should be undertaken?
I searched this forum, but for above ones I found no answers.
Thanks in advance.
Click to expand...
Click to collapse
1)No way, but if you don't flash the bootloader there will be no problem
2)Yes, if they're compiled for armv[5-6]
3)No idea, i did not try yet.

Thanks very much

Related

[HELP] Renamed /system/xbin, lost root, no firmware for Mstar TV

History here: http://forum.xda-developers.com/android-tv/android-sticks/help-how-to-root-mstar-android-tv-t3345397
Before you think, what an idiot, allow me to accept that yes I am in this case. And moving on from there:
I successfully rooted my MStar Android TV with "KingRoot4.1-release-20150703-for-xda"
After I installed busybox, the television lost it's ability to connect with WIFI but thankfully LAN is working.
I searched the internet and came to understand that busybox is the culprit. I remember it asked me to install in /system/xbin. So I thought I'd replace the /system/xbin files with a copy from another same rooted TV. I thought I should backup the current files just incase and (here comes the idiot part) I renamed the xbin folder to xbin123.
Now, I've lost root and wifi both. KingRoot won't work without WIFI for somereason and I can't su from xbin123 directory as it gives an error. I have tried setting path to the directory but that doesn't work either.
Any help in this regard would be appreciated.
Please keep in mind that the TV doesn't connect with laptop via USB. And I don't have the firmware for the TV either :-/
Bhahahahahhaahahahahahahahahahahahahahahahaha
shahjahanakber said:
History here: http://forum.xda-developers.com/android-tv/android-sticks/help-how-to-root-mstar-android-tv-t3345397
Before you think, what an idiot, allow me to accept that yes I am in this case. And moving on from there:
I successfully rooted my MStar Android TV with "KingRoot4.1-release-20150703-for-xda"
After I installed busybox, the television lost it's ability to connect with WIFI but thankfully LAN is working.
I searched the internet and came to understand that busybox is the culprit. I remember it asked me to install in /system/xbin. So I thought I'd replace the /system/xbin files with a copy from another same rooted TV. I thought I should backup the current files just incase and (here comes the idiot part) I renamed the xbin folder to xbin123.
Now, I've lost root and wifi both. KingRoot won't work without WIFI for somereason and I can't su from xbin123 directory as it gives an error. I have tried setting path to the directory but that doesn't work either.
Any help in this regard would be appreciated.
Please keep in mind that the TV doesn't connect with laptop via USB. And I don't have the firmware for the TV either :-/
Click to expand...
Click to collapse
Please don't create duplicate threads/posts on XDA, it isn't allowed as per our forum rules:
5. Create a thread or post a message only once.
As a large forum, we don't need unnecessary clutter. You're free to edit your message as you like, so if you do not receive an answer, revisit your message and see if you can describe your problem better. Not everyone is online at the same time so it might take a while before you receive an answer.
Click to expand...
Click to collapse
You already have a thread open here, please use it to continue your discussion.
Also, I'm not sure why you created this thread in the Android Apps & Games section, this section is reserved for developers who are posting apps and games., it isn't a help section. The section you posted your first thread in is correct for the topic.
Thread closed.

[Completed] Need some help regarding manual rooting using ADB to place the files. ReRooting phone

Okay so I've had this phone for little over 10 months now and within that time I've managed to achieve root (unreliable but it works at the very least) in that time as well as learned a fair amount about Linux and android alike (Not a whole lot but I know some stuff) though I've now come to the point of I actually want to give my phone a proper root instead of this faulty solution I have currently. I (barely) managed to get my phone rooted using Kingoroot and I've played plenty with my phones' innards in that time, removed system apps, added my own selection to the system but some apps in my phone that use root don't work even with root permission granted which is why I'm wanting to replace Kingoroot with ChainFires' SuperSU binaries, could anybody help me with simple instructions for someone who doesn't actually know very much regarding how root and SU bins work inside of android? My phone's using 4.4.2 kitkat.
Just a few disclaimers first to get misconceptions out the way:
1. I do not have a custom recovery nor is one available for my phone (Samsung galaxy young 2 (SM-S130H) for those who want to know)
2. I'm currently unable to use the internet on my phone as I lack Wi-Fi to do so (router is dead) so I'm manually installing app packages through ADB, so if something needs an internet connection on my phone it's not going to work for me, for now..PC still has net access.
3. I have access to ADB shells' SU but not ADB root so I hope you don't need that from me.
4. This phone does not have a fastboot mode. (That I can find anyway..) Only a download mode from what I've found.
Can anybody help me out with telling me what I'll need to be doing in regards to getting this done?
Hi Mc Fow1er
Thank you for using XDA Assist
As we do not have an specific forum dedicated for your device yet, our experts at the below forum should be able to help you. Please be welcome to post over in there.
Android Q&A, Help & Troubleshooting
Nice regards and good luck.
.
Mc Fow1er said:
Okay so I've had this phone for little over 10 months now and within that time I've managed to achieve root (unreliable but it works at the very least) in that time as well as learned a fair amount about Linux and android alike (Not a whole lot but I know some stuff) though I've now come to the point of I actually want to give my phone a proper root instead of this faulty solution I have currently. I (barely) managed to get my phone rooted using Kingoroot and I've played plenty with my phones' innards in that time, removed system apps, added my own selection to the system but some apps in my phone that use root don't work even with root permission granted which is why I'm wanting to replace Kingoroot with ChainFires' SuperSU binaries, could anybody help me with simple instructions for someone who doesn't actually know very much regarding how root and SU bins work inside of android? My phone's using 4.4.2 kitkat.
Just a few disclaimers first to get misconceptions out the way:
1. I do not have a custom recovery nor is one available for my phone (Samsung galaxy young 2 (SM-S130H) for those who want to know)
2. I'm currently unable to use the internet on my phone as I lack Wi-Fi to do so (router is dead) so I'm manually installing app packages through ADB, so if something needs an internet connection on my phone it's not going to work for me, for now..PC still has net access.
3. I have access to ADB shells' SU but not ADB root so I hope you don't need that from me.
4. This phone does not have a fastboot mode. (That I can find anyway..) Only a download mode from what I've found.
Can anybody help me out with telling me what I'll need to be doing in regards to getting this done?
Click to expand...
Click to collapse

[INFO] [QMV7B] [ELLIPSIS 7] questions

[INFO] [QMV7B] [ELLIPSIS 7]
1. My apologies if this thread is in the wrong forum.
2.Not sure if my thread title is OK.
3. Am I allowed to post my link?
4.This site looks different and I can not seem find my answer.
Hi everyone, long time viewer first time poster in need of help. I recently deleted my system apk due to bad judgment,please don't judge. I can no longer access my system settings and with that the package installer no longer works. My tablet has been rooted, for a bit. I used the (kingo root) successfully.I do not have back up, I did find and download the apk sys files from a upper mod and now I need to enable via command to change the setting to allow installation of unknown sources .I do not know how to do that,. I am guessing that maybe that will FIX IT (crossing fingers). Any of the more experienced users know how to assist? I would love to have the stock rom, can't find it. Maybe there is a different method to do a complete restore that has all the files. My apologies if this is redundant request.
oh, I have already tried the hard factory reset and the system setting is still missing. I can't return, No warranty
Thanks in advance, and I can now stop the ugly crying.
I have the QMV7B ELLIPSIS7 4..2.2 rooted via KingoRoot.
thanks to (?) can't find your name.f for the link for system files I have.
I have a qr code on my photo albuma and my profile pic for the qmv7b system APK.

[Completed] about non rooted devices

hi guys,
first, i m all time thankful to these developer guys, you make mobile world so genius, yeah it was never genius,
second, something i learn and something i want to learn more is about android always, but here is my question below that is really important. i don't know if it really make sense or not but i would like to know your opinion.
question :- i see there is a way to push files into device without rooting it. is it secure? it is safe? i guess yes. than how can i push titanium backup(data only) of particular app into my device?
example : - i myself after learning lot about apk tool and all that, modded "whatsapp" successfully and which is out of this world according to me, lately i cam to know there is already one called whatsapp GB, but mine is mine. (right now i don't have rooted device so couldn't send screenshot), but what i am trying to figure out is, i can install my modded apk on my non-rooted device and can run it either, problem comes when it is about registering number, what i really thought that if i can push titanium backup of my modded whatsapp.apk (data only - taken perviously when i had rooted device) to this non rooted device via ADB, than i didn't need to root my device ever, and so for any other app that is modded by me or any developers can be executed on non rooted device.
pros - if this is possible than i guess People won't need to root device, will not loose warranties, will not loose device by bricking it, will get out of a procedure of root methods, no one will ask more about root method, soft brick, hard brick, boot loader issues and many more questions like that i guess.
there will left only one tutorial than if this is possible and it will be like this - how to use adb?(step by step : beginner to black hat).
if this is possible than what we need? proper method of how to use adb, most of people easily can learn how to use adb but most of tutorial misses some points like how to push file by changing r/w permission, and where to put new data backup or files in device like some tutorial i have seen gives only command line but people actually don't know where to put the file like /data/data and than what?
Developers and Rooted device owner will become God in fact in this case because they can lead the rest in right path.
is this possible? or am i ridiculously making no sense?
joy.julep said:
hi guys,
first, i m all time thankful to these developer guys, you make mobile world so genius, yeah it was never genius,
second, something i learn and something i want to learn more is about android always, but here is my question below that is really important. i don't know if it really make sense or not but i would like to know your opinion.
question :- i see there is a way to push files into device without rooting it. is it secure? it is safe? i guess yes. than how can i push titanium backup(data only) of particular app into my device?
example : - i myself after learning lot about apk tool and all that, modded "whatsapp" successfully and which is out of this world according to me, lately i cam to know there is already one called whatsapp GB, but mine is mine. (right now i don't have rooted device so couldn't send screenshot), but what i am trying to figure out is, i can install my modded apk on my non-rooted device and can run it either, problem comes when it is about registering number, what i really thought that if i can push titanium backup of my modded whatsapp.apk (data only - taken perviously when i had rooted device) to this non rooted device via ADB, than i didn't need to root my device ever, and so for any other app that is modded by me or any developers can be executed on non rooted device.
pros - if this is possible than i guess People won't need to root device, will not loose warranties, will not loose device by bricking it, will get out of a procedure of root methods, no one will ask more about root method, soft brick, hard brick, boot loader issues and many more questions like that i guess.
there will left only one tutorial than if this is possible and it will be like this - how to use adb?(step by step : beginner to black hat).
if this is possible than what we need? proper method of how to use adb, most of people easily can learn how to use adb but most of tutorial misses some points like how to push file by changing r/w permission, and where to put new data backup or files in device like some tutorial i have seen gives only command line but people actually don't know where to put the file like /data/data and than what?
Developers and Rooted device owner will become God in fact in this case because they can lead the rest in right path.
is this possible? or am i ridiculously making no sense?
Click to expand...
Click to collapse
Hello,
Please post your query here Ask any Query Newbie Friendly with all relevant details, the experts there maybe able to assist you.
-Vatsal

[Completed] is this right place to post new thread?i m really not getting idea where to post.help

hi guys,
first, i m all time thankful to these developer guys, you make mobile world so genius, yeah it was never genius,
second, something i learn and something i want to learn more is about android always, but here is my question below that is really important. i don't know if it really make sense or not but i would like to know your opinion.
question :- i see there is a way to push files into device without rooting it. is it secure? it is safe? i guess yes. than how can i push titanium backup(data only) of particular app into my device?
example : - i myself after learning lot about apk tool and all that, modded "whatsapp" successfully and which is out of this world according to me, lately i cam to know there is already one called whatsapp GB, but mine is mine. (right now i don't have rooted device so couldn't send screenshot), but what i am trying to figure out is, i can install my modded apk on my non-rooted device and can run it either, problem comes when it is about registering number, what i really thought that if i can push titanium backup of my modded whatsapp.apk (data only - taken perviously when i had rooted device) to this non rooted device via ADB, than i didn't need to root my device ever, and so for any other app that is modded by me or any developers can be executed on non rooted device.
pros - if this is possible than i guess People won't need to root device, will not loose warranties, will not loose device by bricking it, will get out of a procedure of root methods, no one will ask more about root method, soft brick, hard brick, boot loader issues and many more questions like that i guess.
there will left only one tutorial than if this is possible and it will be like this - how to use adb?(step by step : beginner to black hat).
if this is possible than what we need? proper method of how to use adb, most of people easily can learn how to use adb but most of tutorial misses some points like how to push file by changing r/w permission, and where to put new data backup or files in device like some tutorial i have seen gives only command line but people actually don't know where to put the file like /data/data and than what?
Developers and Rooted device owner will become God in fact in this case because they can lead the rest in right path.
is this possible? or am i ridiculously making no sense?
This is not the right place.
You were already advised to post in the Ask any Query Newbie Friendly thread last month.
Please post there with all relevant details.
Thanks and thread closed

Categories

Resources