phone is rooted but 2.1 wont allow shell access to apps - Hero CDMA Android Development

If anyone can help me with this issue,its killing me. I love the DARCHDROID rom,couldnt wait anymore so i had to flash it. Flashed darchdroid,lwp kernel and everything else works, minus a few fc's. In adb i have #,and my device appears to be rooted, i have rerooted more then 35 times in the past 5 hours read numerous posts here,even some that would imply to address this issue,but does not solve my problem....seems that i dont have root access to my new 2.1 rom shell.....if this is possible. Ive tried many other roms and never come accross one that you had to re root for.But this rom looked worth it. Everything i have read seems to work for others but not me. Well the geniuses are here so here is where i ask for assistance....any thoughts or replies would be greatly appreciated, im not giving up on this rom yet......thanks in advance!

The newest darch rom is already rooted. Make sure you 'adb remount'. That allows read/write access to /system if you want to push files to it.

oops
BTW, forgot some important info,didnt want to list all of my links and flood the thread Im still at it...anyone that is capable of offering me help will understand this error....when i get to step 9 in the xda guide.forum.xda-developers. cdma hero root guide,.....site wouldnt allow me to use the link,error?strange i couldnt link because all my good links are from this site......after i enter "cat sh > su"
i get "cannot create su: directory nonexistent"......i know this is a red flag for my problem and im sure theres an easy fix......tried makdir and im denied access. ..I now have a headache and thanks for any help.....

reflash the rom. there was no need to asroot2 the shell.

Related

How to root Magic?

Before you just delete this post I want to say what I EXACTLY want to know:
What does it need that the ROM signs me in as root? I don't want to know how to flash one of these ROMs like Cyanogen or something, but I want to know what I have to change in my ROM that it logs in as ROOT!
So if there is a post already, just tell me WHERE. Because when I search for "how to root" or something like that I get those flashing guides.
I hope you can help me.
Best regards,
b!rust
http://forum.xda-developers.com/showthread.php?t=581819
Hi, you said you flashed your phone with the ION rom, correct? Well, download the SDK and follow the instructions in dferreira's first post detailing how to obtain root
Yeah! That's right. But I wanted to know, how I can do that in general.
And I'm a bit confused, because after I did it like it was said in the thread you mentioned and I type
Code:
su
id
in the console (Terminalemulator.apk and also via adb) it doesn't say I'm root.
//edit: in Terminal Emulator it says I am user "app_38" in the group "app_38". In the adb shell it says that I'm user "shell" in group "shell"...
What does it say in the terminal? Because as far as I know, root uid is 0, and mine isn't listed as such. I'm not 100% sure, because I'm also new to this, but I think that regardless of whether it shows or not you are indeed root.
For example, to test root on my phone I took a few screenshots of my phone using the app "drocap2" which requires root. I also was able to flash a new bootscreen image etc
Yeah that's right uid 0 is root and that's what confused me. But when you say that you can run apps that require root... I will test it in a sec.
How did it go?
Edit: I think actually you need to enable local root for using a terminal and such (instead of going through the recovery/adb shell).
http://android-dls.com/wiki/index.php?title=Magic_Root_Access
But don't quote me, just picking it up as I go

[Q] Temp root with rage method, where to go from here?

This is for anyone who is experienced with rooting using the rage method (command-line), using the Terminal Emulator, etc. I'm looking to root my phone, but aside from that, just looking to poke around and see what I can do at this point.
Ok, here's the skinny: I can get a temporary root (#) on my phone via the Terminal Emulator (will NOT show up in cmd.exe via adb) using the rage method, detailed steps are in my post here.
I can't push any files to /system after I get the temporary root - /system seems to lock up with any commands, like cat, attempting to do so (another post with details). However, I can copy /system files onto /sdcard, no limits as far as I know. Also, I can use dd to make a back-up of some of the mtd partitions. That's about the extent of the poking around that I've done after many hours of poring over other forums of different devices.
Where can I go from here? Can I use a different directory on the phone to try and push either su or Superuser to? Should I just give up? Haha.
I know that I already have my own thread dedicated to my phone and trying to figure out stuff for it. So, I hope I'm not stepping out of bounds by asking a question like this in regards to this rooting method...my apologies if I am being improper. My thanks and gratitude for anyone who reads this and can help me get to the next step, as little or big as that may be.

[Q] getting the mesmerize in a few days!!! adb help

hello xda!!! been doing alot of reading here and desided that i wanted to be part of the action...with that said...
did some reading on how to get clockworkmod on the mesmerize and have no clue how in gods name to use adb...is there a how to that could help me better understand how to use it and get this on my phone after i have it rooted...soory for the noob question but as you can see. im a noob at this. only phone i have really modded is the samsung acclaim (which btw is a weak phone but good for the noobie droid user) so any help is greatly appreciated. thanks in advance guys and i look forword to helping devs by testing and such
adb, or android debug bridge, is a tool distributed with the android sdk. In current versions of the sdk, it is located in the platform-tools folder, which only appears after you download the sdk tools after downloading the sdk zip itself.
It should be noted that usb debugging needs to be enabled on your device in order for adb to work properly. This can be turned on under: Applications > Development
To use adb, you open up a command window if on windows or a terminal emulator if on linux or mac. Type:
adb <command> [options]
Where command is any one of the commands listed when typing "adb help" and options are things like file names, paths, or other flags.
Common commands include:
pull
push
shell
pull copies a file on your device to your current working directory (or the optional specified location)
push copies a file from your computer onto the device
shell invokes a simple shell on your device allowing you work in a linux like environment on your device
There is a reboot command that is sometimes helpful but that can always be done using the power button on the device.
You will probably only use push and shell.
Examples:
adb shell
adb push update.zip /sdcard/update.zip
Hope that clairifies things a bit.
yes it does sir...so with those commands i can "push" the clockworkmod onto my mesmerize and have that beautiful recovery? the only directions i found where using the adb. if there any way i can screw this up ei: mistyping or will it just say invalid command or something? and again ty for the fast response!!!
you got the thanks for that...lol...im grateful for any and all help
Typos shouldn't hurt. If it's a bad command it just won't execute. If it's a bad filename you may have to clean up a bit (like remove the file that is improperly named or in the wrong directory) but nothing fatal should happen.
alright...i feel a bit more confident that i can make clockworkmod happen when i get my mesmerize and get it rooted...any other suggested mods for spped?
You should install a custom ROM, (I use Super Clean, some people prefer the pick n pack) then a theme you like from the themes and apps section, then install the voodoo lagfix kernel. Everything mentioned can be found in the Mesmerize forum.
yea i seen voodoo but wasnt quite sure what exactly it does. as far as the pick n pack or super clean...could you tell me the difference or does it say it on the page where it was posted and im just blind and didnt see it?
BakedTator said:
yea i seen voodoo but wasnt quite sure what exactly it does. as far as the pick n pack or super clean...could you tell me the difference or does it say it on the page where it was posted and im just blind and didnt see it?
Click to expand...
Click to collapse
Its obvious you didn't read the threads.
Sent from my SCH-I500 using XDA App
ADB is nice and all ..
But there other ways to install and do everything needed to Flash a ROM or Kernel.
How to get ADB up and running.
And a couple other great links for learning more.
http://forum.xda-developers.com/showthread.php?t=502010
http://forum.xda-developers.com/showthread.php?t=872128
If you look in the Clockwork Mod thread here in the Mez forums there are walkthroughs on BOTH ADB method to get CWM working and sans ADB methods.
And again. Always Read.. Read again.. if all else fails.. Read once more.. And ask.. Everyone here is very informative and glad to help when we can.
I knew nothing of Android before I came here and a month later I know enough now to be dangerous.. LOL
skitzo_inc said:
Its obvious you didn't read the threads.
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
i did read just havnt read over it several times to see if i have missed anything...just a lil scared of adb because i have never used it before..i have an acclaim and could do everything from the swupgrade flasher for the moment and that made life easy(aint tryin to brick a 600$ phone)
to Sighcosis
thanks for the link...will read over them tonight seeing as my phone will be here no later than Wednesday and i wanna have everything downloaded and ready to roll cause the second i get this phone imma start fashing it and getting everything i want on it...again thanks for all the help guys...now more reading

[Q] motorola i886, halfway rooted... i think

I am trying to root a motorola i886. Its a really wierd nextel iDEN PTT phone that is running (i believe) android 2.0 or 2.1 but has no touchscreen...
Basically I have been able to get a root shell (#) from 'adb shell' by pushing some program called psneuter to the phone and running it. Once I had this I could install apps via adb ok, but it seems like whenever I try to run any apps that require root they error saying they do not have root access.
As far as I can tell pretty much every rooting guide for every other phone has you putting 'su' and sometimes 'busybox' into /system/bin and 'Superuser.apk' into /system/app. I did both of these but still got the same errors about apps not having root. I tried a few different versions of these files I found from different sites to no avail. Running su on a terminal emulator on the phone itself would get the error "operation not allowed" or something like that. Then I found some other guide where you just copy 'sh' to 'su' and chmod su to 4755. When I did that I could get to a # prompt on the phone's terminal emulator app by typing 'su' but still got root errors for apps that need root.
I though maybe someone here would know something that I missed. As far as I can tell, I have applied the correct permissions to all these files or have at least tried every combination I can think of to no avail (shouldn't chmod 777 just make everything work?)
Also, does the phone usually come with a stock version of busybox on it? Do you need a specific version of these files for your device or version of android?
When an app on the phone tries to get root access is it just basically trying to run 'su' internally or something like that?
Also forgot to mention I have tried all the one-click-root apps and they do not work for this stupid phone. (well the super one click one was how I figured out how to get the adb shell root but the regular root button doesn't work...)
I can't help with your specific questions, but there is some info about rooting the i1, another iDEN with Android. Although it looks like the i1 is actually Android, and not the Motorola-altered, not-really-Android, proprietary software that the i886 has.
http://www.howardforums.com/showthread.php/1662431-Motorola-i1-Rooted
http://forum.cyanogenmod.com/topic/5520-ive-rooted-my-i1/
garbb said:
I am trying to root a motorola i886. Its a really wierd nextel iDEN PTT phone that is running (i believe) android 2.0 or 2.1 but has no touchscreen...
Basically I have been able to get a root shell (#) from 'adb shell' by pushing some program called psneuter to the phone and running it. Once I had this I could install apps via adb ok, but it seems like whenever I try to run any apps that require root they error saying they do not have root access.
As far as I can tell pretty much every rooting guide for every other phone has you putting 'su' and sometimes 'busybox' into /system/bin and 'Superuser.apk' into /system/app. I did both of these but still got the same errors about apps not having root. I tried a few different versions of these files I found from different sites to no avail. Running su on a terminal emulator on the phone itself would get the error "operation not allowed" or something like that. Then I found some other guide where you just copy 'sh' to 'su' and chmod su to 4755. When I did that I could get to a # prompt on the phone's terminal emulator app by typing 'su' but still got root errors for apps that need root.
I though maybe someone here would know something that I missed. As far as I can tell, I have applied the correct permissions to all these files or have at least tried every combination I can think of to no avail (shouldn't chmod 777 just make everything work?)
Also, does the phone usually come with a stock version of busybox on it? Do you need a specific version of these files for your device or version of android?
When an app on the phone tries to get root access is it just basically trying to run 'su' internally or something like that?
Also forgot to mention I have tried all the one-click-root apps and they do not work for this stupid phone. (well the super one click one was how I figured out how to get the adb shell root but the regular root button doesn't work...)
Click to expand...
Click to collapse
PM to me,i rooted sucefully, and install many applications with android SDK suite.
Regards.
geminis said:
PM to me,i rooted sucefully, and install many applications with android SDK suite.
Regards.
Click to expand...
Click to collapse
Wow, I can't believe someone found this thread and replied after so long. Thanks, but in the meantime I actually figured out how to root it fully and get root apps to work. I think i just tried different su's and superuser.apk's that I found on the internet until one worked...
Now, if you have figured out how to change the nextel push-to-talk chirp/beep sounds then let me know how you did that. I actually found the .wav files for the PTT sounds in some .apk in /system (phone.apk I think?) but for some reason changing them had no effect on the sound the phone makes when using the push-to-talk feature...
Its been 10 years but do you still have the firmware for this device? I need to flash it, it doesnt finish booting up
I don't have a full ROM .zip file for this phone, only some update .zips. But the first link result for a google search for "motorola admiral stock rom" worked for me for downloading a file.
Wrong phone, sorry.
Sorry but i don't understand. Isn't the Motorola admiral a different device? Does that zip work for the i886? If so, how do I flash it, because the i886 doenst have a recovery mode.
Oh, oops sorry, I was confusing this phone with another one. I looked and I don't have and firmware files for this, sorry.
OK, thanks for replying

zte z990g (Rooted) Needing general information about su rights & commands

:fingers-crossed: ok so I've FINALLY been able to root my net10 zte merit z990g using a simple .zip install suggestr
d to me by a friend. (I know I took the easy way)
Since rooting it, I've went from the factory 2.3.5 stock and installed an ICS based verioson, which seems to be running great minor exception internet browser crashed & installation of opera web browser seemed to work smoothly on.
Since rooting it, I've bought another phone (Lg Optimus Dynamic) and activated it so that I may study the rooted device futher.
My questions are as follows:
1. Could someone possibly tell me the complete list of su commands are for my zte merit z990g and how to enter them? (Id like to use my su rights to explore the device componets, network (since its deactivated and has no working sim) and bootloader files/settings, etc for my own educational purposes to POSSIBLY futher my knowledge of the android based device. (quite new still yet to the whole technology mods, hacks & tricks) as well as explaining the whole shell thing?
2. Bootloader: how do I know if its unlocked, and if it isnt then what do I do to unlock it?
3. Is it possibe for one flash or install another custom rom or kernel to unlock a device? As stated I've went from gingerbread 2.3.5 to ICS . I first installed a .zip of TouchNav then a DexMeritRoot. zip, shortly after that I installed the ICS.zip. Though it seems to be stable, the battery drains extremly quick and there still is hardly any memory. Any ideas on a tweak setting to optimize
these issues?
4. Does anyone have another suggestion for a rom that I could try?
I ask advice as I know there are possibly other users out in the xda forum who are waaay more experienced with this device and could possibly share their wisdom with an inexperienced noob thats looking to expand her knowledge. So far, whats been done since the root, Ive enjoyed it (I use it to connect via wifi only to connect with friends and play online games when not tinkering with trying to enhance it to full potential) Ive just grown sightly accustomed to the udated zip of ICS and would like to try something new.
So, there it is guys, is there anyone who would like to offer their advice on the subjects? Id love to get some feedback.
Thanks in advance!!
ok, so I now know that I can install a .zip custom rom contaning no kernel since the merit is known to have issues rebooting and its linked to an "unstable kernel....but this confuses me. Doesnt the android based Zte Merit z990g have to have a kernel to function??
And I've come across the Stayboggy blue steel custom rom but Im apperhensive due to conflicting replies in the forum area I located it in. Dont get me wrong, he has some wonderful ROMS and software that Ive researched online. I just get a little nervous upon installing anything (Fear of drastic noob brick)
I've yet to find any real answers in my researches just yet, however I will continue to explore the device.
I guess upon reading Ive realized the bootloader thing has pretty much been addressed all on its own. Im guessing I wouldnt of been able to install the icecream Scamwhich custom rom, version of the ICS, would I??
Im still trying to find out the whole su commands, how to create shell etc so thats what Im tryin to grasp now.
Still would appreciate any opinions, and advice from others. on anything in the thread...
Okay so just to clear a few things up.
The bootloader for the merit is already unlocked due to Touch Nav being able to be flashed and replace the Stock Recovery with the update.zip. The bootloader would be the first menu that you "tampered" with in order to flash a permanent recovery that would allow you to use Touch Nav or ClockWorkMod recovery and then install ROMS. In my experience, I haven't ever come across a ROM being "pre-unlocked". This is because the way to unlock most phones is using the IMEI and being that is different in every phone it just can't be done until after the ROM is flashed. Some phones have apps for them like the Galaxy line and others are harder to unlock.
As far as running shell commands, you'll need to do that through ADB or a Terminal App. That's really the manual way of performing tasks on your device like pushing or pulling files with read/write privileges aka SuperUser. So it depends on what all is you want to try to learn to do manually. Like pulling system apps from your phone, replacing boot animations zip files, or what have you. In ADB, if your device is connected and have ADB debugging checked off you can try the command: "Adb devices". Minus the parentheses to check if can run other commands. "Adb help" will show you a quick command paragraph. You should still Google ADB commands or Android Terminal commands to explore further. Since your phone doesn't have a service, I recommend you trying a voip app to make calls through wifi just as neat thing to mess around with. Well that's just a bit of what I've gathered in my short time here in Xda Developers. If you like the challenge of research in the android/Linux world, this is really exciting way to start.
Oh and as far as the Ice scam Sandwich ROM, it is still Gingerbread. It's only themed system ui to look like ICS. There isn't an ICS based rom out for the ZTE Merit. Even SpeedFreak2.0 is Gingerbread. The low system storage issue was greatly addressed in SpeedFreak2.0 by creating an sd-ext3 partition on the micro sd. I had to create that in either TouchNav or ClockWorkMod and format. So backup all your data prior to doing this and installing the New Rom. I now have 4gb free of system storage and the Merit clocking at 864mhz. Pay close attention as I believe you install that ROM by restoring a backup file NOT flashing the. zip.
Now for the unstable kernel, I would recommend you download the 1.0 kernel I mentioned in another thread. The kernel comes in the ROM and it wouldn't run "without a kernel". Again, this would be after installing SpeedFreak2.0 by backup restore using ClockWorkMod that I believe is installed by flashing an update.zip that reboots TouchNav and let's you use a Temporary ClockWorkMod from which to backup(install) SpeedFreak2.0. You extract the SpeedFreak2.0. zip and get the backup file from there. I hope I made sense. I'm up late and I'll come back and check on you. Feel free to PM me if you find yourself lost.
Sent from my PantechP9090 using xda premium

Categories

Resources