Make my own base to work from - Galaxy S 4 Developer Discussion [Developers-Only]

I know I'm not a recognized developer but I would like to learn.
I am trying to make an NC6 base rom from a system dump of a friend of mine that has a Sprint Galaxy S4 SPH-L720T which is the triband version.
He got the dump and I have it now.
I mounted it and extracted everything then put it in a flashable zip for the Sprint Galaxy s4.
I haven't removed anything and have only deodexed it.
When my friend flashes it everything seems good except for the fact that it never registers on the sprint network. I'm not sure what is going on
I'm hoping maybe somebody could shed some light on this for me.
All of the network settings are where they need to be.
Any help or idea would be greatly appreciated.
Thanks.
Sent from my SCH-I545 using Tapatalk

You don't have to a recognized developer to post a question lol. as longs as its about development and not something else.
Since you are actually porting a rom from the SPH-L720T to the SCH-I545 you have to remind that you are actually changing the RIL (radio interface layer) blobs.
the CM11 builds that unified also have seperate blobs in it for all kinds of radios, and will install the right one in CWM.
My advice is to download "jflte" unified cm build, and investigate the /system/blobs folder usage, along with the updater-script
Code:
ifelse(is_substring("I337", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("I545", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/cdma/* /system/"));
ifelse(is_substring("I545", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/vzw/* /system/"));
ifelse(is_substring("L720", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/cdma/* /system/"));
ifelse(is_substring("M919", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("R970", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/cdma/* /system/"));
ifelse(is_substring("I9505", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("I9507", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("I9508", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
so adding this "blobs" folder to /system + adding the script above in the updater-script would theoretically fix the problem.

Thanks for the info! Will definitely keep that piece of info noted.
But I should have been more clear. Sorry.
I am not porting the rom.
I posted this in the Sprint forums (first time I've actually noticed they cross over from board to board)
The NC6 build is for the SPH-L720T and nobody has made a stock base (surprisingly) for this triband device.
A friend of mine kind of talked me into it.lol
So I am only trying to get a stock deodexed flashable base rom to work properly before I begin making some changes of my own.
Like I said before it should be pretty simple to make a twrp/cwm flashable zip from a system.img dump for the very same device you are creating the rom.zip for.
But for whatever reason it only "prepares for network" and it never completes so no calls,text, or data.
Thanks for your time and response.

Using the right api to deodex?
Logs?

DSA said:
Using the right api to deodex?
Logs?
Click to expand...
Click to collapse
Used the deodexer found here http://forum.xda-developers.com/showpost.php?p=52074606
And logcat slipped my mind for some reason.
I will have him an odex rom and get a logcat.
I figure if the odex rom works something is wrong with the deodexer
Thanks.

klabit87 said:
Used the deodexer found here http://forum.xda-developers.com/showpost.php?p=52074606
And logcat slipped my mind for some reason.
I will have him an odex rom and get a logcat.
I figure if the odex rom works something is wrong with the deodexer
Thanks.
Click to expand...
Click to collapse
I would suggest installing cygwin and using android kitchen (its the best deodexer)
https://github.com/dsixda/Android-Kitchen/archive/master.zip
API level 19

broodplank1337 said:
I would suggest installing cygwin and using android kitchen (its the best deodexer)
https://github.com/dsixda/Android-Kitchen/archive/master.zip
API level 19
Click to expand...
Click to collapse
Ok. Thanks. I'm not a fan of cygwin so I will just fire up my *nix vmachine.
I will update in the next few days when I get a chance.
Thank you guys for the input.
Sent from my SCH-I545 using Tapatalk

This is most likely due to missing firmware symlinks
I'd suggest building the rom with archikitchen

CNexus said:
This is most likely due to missing firmware symlinks
I'd suggest building the rom with archikitchen
Click to expand...
Click to collapse
Thanks. My friend should be testing it tonight I believe.
I will check out archikitchen in the meantime.
Would you recommend a specific version of just the latest will suffice?
Also if I wish to keep symlinks intact I would probably need to do all the work within Linux, correct?
Now that you mention it, there is a high possibility/probability that I missed a symlink or a few.
Thanks for the advice.
Will update when we do more tests.
Sent from my SCH-I545 using Tapatalk

klabit87 said:
Thanks. My friend should be testing it tonight I believe.
I will check out archikitchen in the meantime.
Would you recommend a specific version of just the latest will suffice?
Also if I wish to keep symlinks intact I would probably need to do all the work within Linux, correct?
Now that you mention it, there is a high possibility/probability that I missed a symlink or a few.
Thanks for the advice.
Will update when we do more tests.
Sent from my SCH-I545 using Tapatalk
Click to expand...
Click to collapse
Latest version will do fine
Yes I suggested that because when making a stock 4.4.2 rom for the Sprint S3, I ran into the same issue with RIL not working
Turned out to be some missing modem firmware symlinks that archikitchen found and all was good after that

dsixda's android kitchen has not been updated for kitkat. I would use archikitchen as suggested.
I would look here as well. Even though this thread is for the S3, much of the info still applies.
http://forum.xda-developers.com/showthread.php?t=2069850
If your N6 base is not Sprint firmware, the first thing I would do is add the Sprint APN.

upndwn4par said:
dsixda's android kitchen has not been updated for kitkat. I would use archikitchen as suggested.
I would look here as well. Even though this thread is for the S3, much of the info still applies.
http://forum.xda-developers.com/showthread.php?t=2069850
If your N6 base is not Sprint firmware, the first thing I would do is add the Sprint APN.
Click to expand...
Click to collapse
+1 on ArchiKitchen. He does real good work on it.
Only downside tho, it only runs on linux. So either need to install linux or he has a great tut videofor settings up debian in a vm. Some have got it to work with Cygwin but not recommended and not supported

Thanks guys. I actually found archikitchen to be easier to work with than android kitchen.
It did find several symlinks that I didn't notice or got lost in my other tests.
I have my base rom done and is uploading so maybe my friend can test this tomorrow sometime I hope.
Thanks for all the great information guys.
I will definitely let you know how it goes and give each of you the credit that is due once this does get released.
Sent from my SCH-I545 using Tapatalk

I'll test too If you'd like. And if you ever want to exchange ideas I'm more than happy to host a quick hangouts for the community.

Daisflaque said:
I'll test too If you'd like. And if you ever want to exchange ideas I'm more than happy to host a quick hangouts for the community.
Click to expand...
Click to collapse
Sounds great. Everytime I believe I'm done I think of something else I need to change.
I already have the read/write extSdCard fixed.
I know the mobile data toggle is missing so I will be adding that in also.
What are the most common mods most people do?
I want to try and keep this a stock rom with the most common mods already baked in.
Sent from my SCH-I545 using Tapatalk

Don't put common mods in and make like every other custom ROM out there, try and find a unique angle and do something different..

couldn't agree more.

I wholeheartedly agree! I love a variety of roms.
But I do not own the Sprint TriBand S4 only the Verizon S4.
If I did I would absolutely be trying something different and making is standout as much as possible.

Related

[WIP] Camera enabled CM9 ICS - Happy New Year

Here is a ROM which has a very alpha and proof of concept working camera in CM9 ICS. It crashes a lot too (as expected). The ROM is based on CM9 and is a mini ROM with very basic apps and the required camera stuff. It should work fine with stock HBOOT, as it is pretty small. The ROM is just a vehicle for showcasing this work. It is not meant to be a replacement ROM of any sort.
http://www.mediafire.com/?d71119l3liv9iq3
Here is another zip file which has just the camera related stuff, that people can use in their ROMs (new/existing).
http://www.mediafire.com/?udyqa0aggncqobv
The boot.img has a modified ramdisk to allow the Camera HAL to work properly.
What works:
1) Preview - Trust me this is a big deal
2) Take picture
3) Flash enable/disable.
What does not work:
Everything else like video recording and other fancy stuff.
I have spent a lot of time on the internet and IRC, trying to find the sources for nexus one's libcamera.so used in CM7, but have not been able to. If someone knows the whereabouts, please send me the link. It would be really useful.
With out the proper sources, I had to spend a lot of time reversing the CM7 libcamera.so to match with the sources from code aurora and code for other devices and modify/build stuff to get to this point.
Credits are due to everyone involved in CM and whose code is included.
Enjoy!!
Nice work!
If you add this one with a (nearly) stable build like the texasice one (maybe a parallel build), it will be enough for me as a daily use
Menelkir said:
If you add this one with a (nearly) stable build like the texasice one (maybe a parallel build), it will be enough for me as a daily use
Click to expand...
Click to collapse
Agreed.
Sent from my Nexus One using XDA App
Me too!
BTW, is it possible to flash this on texasice - 2.1.0p3-miniskirt?
I can try to build another ROM. There are many variants with different HBOOTs etc., which is the one you would like to have?
With the other zip file I posted, you can do this very easily yourself. All you need to do is push the files using adb or copy using some file explorer from your sd card after putting it in there. The details of where the files need to go is in the README file as part of the zip.
thanks bro, i try it and using in the rom
This is ground breaking. Nice work!
texasice said:
This is ground breaking. Nice work!
Click to expand...
Click to collapse
Hell yea!
Sent from my Nexus One using XDA App
Happy new year bro great work( hard work)!!!!!
sent from the home of the "WIRE"
Awesome stuff!! Happy 2012 !
Sent from my Nexus One using XDA App
rapmv78 the ramdisk is identical to mine so im guessing you had to mod the init binary? you got a patch for that somwhere?
Ive switched all files do i need to use your boot.img or can i use the one that is included in my zip already?,im still learning just want to be sure for i start to flash,im on the mytouch 4g port???
sent from the home of the "WIRE"
rapmv78 said:
I can try to build another ROM. There are many variants with different HBOOTs etc., which is the one you would like to have?
With the other zip file I posted, you can do this very easily yourself. All you need to do is push the files using adb or copy using some file explorer from your sd card after putting it in there. The details of where the files need to go is in the README file as part of the zip.
Click to expand...
Click to collapse
To be honest, I don't care, I'm not afraid to use a custom hboot, since they work.
Dont know why this don't work on texasicss rom. Can you look ?
Hi Texasice,
The only changes are these extra lines in the init.rc file, but it is absolutely required for camera to work without additional commands on every boot,
# Add permissions for camera access
chmod 0666 /dev/msm_camera/config0
chmod 0666 /dev/msm_camera/control0
chmod 0666 /dev/msm_camera/frame0
chmod 0666 /dev/graphics/fb0
So, if you add these to your ramdisk, then no need to flash my boot.img.
Thanks.
jwhood said:
Ive switched all files do i need to use your boot.img or can i use the one that is included in my zip already?,im still learning just want to be sure for i start to flash,im on the mytouch 4g port???
sent from the home of the "WIRE"
Click to expand...
Click to collapse
You will need the ramdisk changes and hence the boot.img
Or, if you are okay with command line, after reboot, before using the camera app, run these
adb shell
su
chmod 0666 /dev/msm_camera/config0
chmod 0666 /dev/msm_camera/control0
chmod 0666 /dev/msm_camera/frame0
chmod 0666 /dev/graphics/fb0
Thanks.
No WiFi now
HI i flashed this camera mod over texasice's ICS rom and the camera works beautifully but now wifi will not turn on. before modded it wifi was fine now nothing. Any thoughts, ideas, or anyone else having this problem?
kwambewright said:
HI i flashed this camera mod over texasice's ICS rom and the camera works beautifully but now wifi will not turn on. before modded it wifi was fine now nothing. Any thoughts, ideas, or anyone else having this problem?
Click to expand...
Click to collapse
I am assuming you also flashed the boot.img and so most likely the wifi module is not compatible with the kernel. texasice is building a new boot.img with the ramdisk changes I posted in the previous comments. Until he builds a new one, you can get both camera and wifi, if you are willing to run the chmod commands by hand after every boot. You will have to flash the boot.img from texasices's ROM again or reflash the update.zip if you are using clockwork recovery. Another method is to use the wifi module from the update-ics-cam.zip file I posted.
rapmv78 said:
You will need the ramdisk changes and hence the boot.img
Or, if you are okay with command line, after reboot, before using the camera app, run these
adb shell
su
chmod 0666 /dev/msm_camera/config0
chmod 0666 /dev/msm_camera/control0
chmod 0666 /dev/msm_camera/frame0
chmod 0666 /dev/graphics/fb0
Thanks.
Click to expand...
Click to collapse
Can i use terminal emulator to run cmds frm phone ???
sent from the home of the "WIRE"

How to patching an updated boot.img.p(atch) to a fastboot boot.img -For Leak Install-

My email is [email protected]
Be rooted. Have a computer with adb working, or do this from an android terminal emulator. The instructions are for adb.
The applypatch commands are going to have [] around them to show you what to put, but we not used in the actualy script.
-----------------------------------------------------------------
Code:
adb shell
su
cd sdcard-ext
applypatch [Original Boot.img] [Desired Name of new Boot.img] [A] [B] [C]:[boot.img.p]
-----------------------------------------------------------------
A = Desired Boot.img's Sha-1 sum
B = Size (in bytes) of the desired boot.img
C = Original Boot.img's Sha-1sum
Looking at the updater-script you can see this line of code or something similar for applying the boot.img.p to the phone's boot.img.
You need this as a reference for the SHA-1 sums of the patch and boot.img and desired final boot.img.
//Reference script\\
Code:
assert(apply_patch("MTD:boot:[B]:[C]:[B]:[A]",
"-", [A], [B],
[C], package_extract_file("patch/boot.img.p")));
//Actual script\\
Code:
assert(apply_patch("MTD:boot:8388608:fe086e1f547082c3cf2a5f65dacb81fd232ecd89:8388608:4a7070c32d0312aa48e52e207c7932434bc46cb1",
"-", 4a7070c32d0312aa48e52e207c7932434bc46cb1, 8388608,
fe086e1f547082c3cf2a5f65dacb81fd232ecd89, package_extract_file("patch/boot.img.p")));
Actual commands used to patch D4 .219 fastboot file boot.img with D4 6.16.208 boot.img.p:
------------------------------------------------------------------------------------------
Code:
adb shell
su
cd sdcard-ext
applypatch boot219.img boot208.img 4a7070c32d0312aa48e52e207c7932434bc46cb1 8388608 fe086e1f547082c3cf2a5f65dacb81fd232ecd89:boot208.img.p
------------------------------------------------------------------------------------------
mattlgroff said:
My email is [email protected]
Be rooted. Have a computer with adb working, or do this from an android terminal emulator. The instructions are for adb.
The applypatch commands are going to have [] around them to show you what to put, but we not used in the actualy script.
Click to expand...
Click to collapse
Thank you very much mattlgroff. Our Razr Dev section really need more tutorials as this one.
Excellent !
-- Edit --
Do you mind bringing us a Tutorial to port an ICS system app to make it work in another ICS?
Here's an example: SoundRecorder.app from a Motola GSM ICS leak to Retail.BR GSM ICS 4.0.4
This really worth a really cold beer.
BTW. I can provide you all the files you may need or follow a guide to make it work to upcoming Razr's ICS. I've tools to extract .img, DD's even an app compiler. But I get stuck in signing. framework-res.apk etc.
Reason: Some features are built in some ICS versions but not in others. There's more apps, like SIP native support wich are not present in most ICS 4.0.4. I've tried a few Tutorials, but they aren't that much noob Engineering friendly. lol
Thanks man
pedrotorresfilho said:
Do you mind bringing us a Tutorial to port an ICS system app to make it work in another ICS?
Here's an example: SoundRecorder.app from a Motola GSM ICS leak to Retail.BR GSM ICS 4.0.4
This really worth a really cold beer.
BTW. I can provide you all the files you may need or follow a guide to make it work to upcoming Razr's ICS. I've tools to extract .img, DD's even an app compiler. But I get stuck in signing. framework-res.apk etc.
Reason: Some features are built in some ICS versions but not in others. There's more apps, like SIP native support wich are not present in most ICS 4.0.4. I've tried a few Tutorials, but they aren't that much noob Engineering friendly. lol
Thanks man
Click to expand...
Click to collapse
I've never done any modifications of apk's like this, I'm more into leaks and utilities
I agree that someone should make tutorials on this though. Sharing our knowledge is the best way to not have to repeat trying things that don't work over and over.
mattlgroff said:
I've never done any modifications of apk's like this, I'm more into leaks and utilities
I agree that someone should make tutorials on this though. Sharing our knowledge is the best way to not have to repeat trying things that don't work over and over.
Click to expand...
Click to collapse
Hi mattlgroff!
Do you know a Dev that may help us?
Thanks
pedrotorresfilho said:
Hi mattlgroff!
Do you know a Dev that may help us?
Thanks
Click to expand...
Click to collapse
I don't sorry.
apktool
I thought it was possible to make changes to an apk with apktool and then repack those changes back into original apk so you don't lose signing.
X
xlightwaverx said:
I thought it was possible to make changes to an apk with apktool and then repack those changes back into original apk so you don't lose signing.
X
Click to expand...
Click to collapse
We need to figure out how to check for dependencies on these disassembled APK files.
Also, these applypatch instructions have been posted by whirleyes before: http://forum.xda-developers.com/showpost.php?p=26363001&postcount=2
trying to figure out why manually patching would be necessary, why not just dd the boot.img partition after updating?
Q9Nap said:
trying to figure out why manually patching would be necessary, why not just dd the boot.img partition after updating?
Click to expand...
Click to collapse
If no one who knows how can upgrade to that version. Here on the XT912 Verizon front, barely anyone is left on GB who can help us with this. This way I can pull a leak and flash it within minutes with no external help.
What I am doing wrong? It doesnt work. I get always an error:
"bootxxx.img" is already target; no patch needed.
I did everything like described in the OP.
Edit: My fault. Want to update an older boot.img to the newer one using the boot.img.p, but it doesn't work.
EDIT: It worked. As you said, it shows an error but done it already. Thx!
Hi guys, is there any way to let the patch install with any SHA for the currently installed boot.img ? Magisk messes it up so OTA updates cannot work

[Q[ Busybox mixup

Hey,
So a few months ago, I installed either an older version of Busybox, or the newer version I installed never stuck. Basically, I have two folders that contain the busybox commands: /sbin and /system/xbin. In Terminal Emu., when I enter a Busybox command, it seems to only acknowledge the older folder (/sbin). eg if I type in "busybox ifconfig..." or "busybox ipconfig...." I'm told that there's no such command, in so many words. How do I go about fixing this?
Would it mess anything up if I moved the contents of the newer folder (/system/xbin) into /sbin ?
Also, should there be a busybox file located anywhere (ie a file in root that's executed when "busybox" is typed into Term. Emu?) I can only locate the one in the internal sdcard directory ("busybox-stericon")
Thanks
bump
Alot of people are having the same issues on the reviews on gapps. Might be an error with gapps
Sent from my YP-G70 using xda app-developers app
alljokingaside said:
Hey,
So a few months ago, I installed either an older version of Busybox, or the newer version I installed never stuck. Basically, I have two folders that contain the busybox commands: /sbin and /system/xbin. In Terminal Emu., when I enter a Busybox command, it seems to only acknowledge the older folder (/sbin). eg if I type in "busybox ifconfig..." or "busybox ipconfig...." I'm told that there's no such command, in so many words. How do I go about fixing this?
Would it mess anything up if I moved the contents of the newer folder (/system/xbin) into /sbin ?
Also, should there be a busybox file located anywhere (ie a file in root that's executed when "busybox" is typed into Term. Emu?) I can only locate the one in the internal sdcard directory ("busybox-stericon")
Thanks
Click to expand...
Click to collapse
All files in /sbin are part of the kernel. Changes to this folder will be lost after a reboot. The only busybox you need is the one in sbin. It will be run when you type commands in terminal. Any other busybox should be deleted to avoid conflicts
Sent from my Galaxy Nexus using xda app-developers app
and I'll assume, then, that copying over the files from /system/xbin to /sbin won't cause any conflicts, since the files in sbin are like a subset of /system/xbin. thanks a bunch!
edit: blerg. apparently, I just learned to read. changes to /sbin will be lost
is there anyway that you're aware of to modify that folder? sbin's is missing a few useful commands eg ifconfig, iplink, etc
alljokingaside said:
and I'll assume, then, that copying over the files from /system/xbin to /sbin won't cause any conflicts, since the files in sbin are like a subset of /system/xbin. thanks a bunch!
edit: blerg. apparently, I just learned to read. changes to /sbin will be lost
is there anyway that you're aware of to modify that folder? sbin's is missing a few useful commands eg ifconfig, iplink, etc
Click to expand...
Click to collapse
It's the initramfs in the kernel, so you'd have to recompile it.
Sent from my Galaxy Nexus using xda app-developers app
Mevordel said:
It's the initramfs in the kernel, so you'd have to recompile it.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
thanks for all the support. i suppose the initramfs is a file. Will decompiling/recompiling it w/ apkmultitools do the trick? I realize that this question's mad noobish, but hey- it is what it is.
thanks again
alljokingaside said:
thanks for all the support. i suppose the initramfs is a file. Will decompiling/recompiling it w/ apkmultitools do the trick? I realize that this question's mad noobish, but hey- it is what it is.
thanks again
Click to expand...
Click to collapse
I mean it's integrated into the kernel when the kernel is compiled. you'd have to recompile the kernel.
Sent from my Galaxy Nexus using xda app-developers app
figures.
ok- so when you type in a busybox command (eg ifconfig), does it respond? Busybox, when installed, adds commands and links it when you type it in in the terminal, so, I suppose my follow up question is - how do i re-link the commands to the proper path?
on second thought, this problem may have occurred roughly when I flashed paranoid android, reverted (no camera=not a daily driver) and re-flashed Entropy's kernel. additionally, root in terminal emulator, ever since, has shown "sh-3.2$" at the prompt. (PATH=/data/local/bin:$PATH)
for some reason, I'm starting to think it wasn't always this way.

[Linux/Windows] Script to Add Mods

Hey guys,
Not sure if this would be helpful to anyone but I created a script for Mac/Linux that installs some of the mods. There is no way to undo the changes, and I have only done limited testing so YMMV.
I am not liable for anything that happens to your device.
With terminal just cd to the folder and do ./note2.script
The mods I have added so far are:
1) Google Wallet (I still haven't had any success)
2) All apps in MultiWindow
3) Wifi Icon in statusbar + black statusbar
4) 4.2 Camera/Gallery
V2. I have added a Windows batch as well as the Linux script
V3. Fixed some bugs, and added the 4.2 Camera/Gallery
http://www.filedropper.com/notescripts1
PS. Thanks to all those that created the mods. I did not create any, only put into a simple script.
This is actually useful, good job! Could probably do something like this to make/restore backups.
Sent from my SCH-I605 using xda premium
mazz0310 said:
Hey guys,
Not sure if this would be helpful to anyone but I created a script for Mac/Linux that installs some of the mods. There is no way to undo the changes, and I have only done limited testing so YMMV.
I am not liable for anything that happens to your device.
With terminal just cd to the folder and do ./note2.script
The mods I have added so far are:
1) Google Wallet (I still haven't had any success)
2) All apps in MultiWindow
3) Wifi Icon in statusbar + black statusbar
https://docs.google.com/open?id=0BzXlT5Noap2PWWJVNTRFWUxZZ2M
PS. Thanks to all those that created the mods. I did not create any, only put into a simple script.
Click to expand...
Click to collapse
Does this work in windows?
nuke072786 said:
Does this work in windows?
Click to expand...
Click to collapse
No I haven''t written one for Windows yet. I've been thinking about it but just haven't had the time. Was going to see what the feedback was with the Linux one first.
The Windows one should be very easy to write to mimick this one, you just have to change the directory paths and stuff.
EDIT: I am working on this now.. shouldn't take too long.
You need to include the command to make system rw or else it has to be done manually
Sent from my SCH-I605 using xda premium
JonMS said:
You need to include the command to make system rw or else it has to be done manually
Sent from my SCH-I605 using xda premium
Click to expand...
Click to collapse
Shoot.... I had that originally and deleted it. I have finished Windows. I will add that to both and re-upload.
So my tale of woe is below...shortened for those of us with short attention spans:
-I bought my device on 11/29
-root came out via: http://forum.xda-developers.com/showthread.php?t=2024207 a few days later, rooted with 0 problems
-a thread got started about wallet getting up and running here: http://forum.xda-developers.com/showthread.php?t=2031127 (I tried this to the letter and ultimately soft bricked my device)
-with help, I was able to odin back to a rooted device
-used this script to setup wallet and it did NOT work, HOWEVER, using this and then going back to http://forum.xda-developers.com/showthread.php?t=2031127 to use the fix, I think, did. I have added all my cards and am ready to make a purchase, which I will do tomorrow.
So to sum up, don't give up and be creative, if someone says they got it working and you didn't explore more and try to mesh multiple approaches where it fits. I'm only posting this to A. give thanks to those that got this working, and B. give others hope :good:
mazz0310 said:
Hey guys,
Not sure if this would be helpful to anyone but I created a script for Mac/Linux that installs some of the mods. There is no way to undo the changes, and I have only done limited testing so YMMV.
I am not liable for anything that happens to your device.
With terminal just cd to the folder and do ./note2.script
The mods I have added so far are:
1) Google Wallet (I still haven't had any success)
2) All apps in MultiWindow
3) Wifi Icon in statusbar + black statusbar
V2. I have added a Windows batch as well as the Linux script
https://docs.google.com/open?id=0BzXlT5Noap2PdllGYTVxVlp2MUU
PS. Thanks to all those that created the mods. I did not create any, only put into a simple script.
Click to expand...
Click to collapse
mazz0310 said:
Hey guys,
Not sure if this would be helpful to anyone but I created a script for Mac/Linux that installs some of the mods. There is no way to undo the changes, and I have only done limited testing so YMMV.
I am not liable for anything that happens to your device.
With terminal just cd to the folder and do ./note2.script
The mods I have added so far are:
1) Google Wallet (I still haven't had any success)
2) All apps in MultiWindow
3) Wifi Icon in statusbar + black statusbar
V2. I have added a Windows batch as well as the Linux script
https://docs.google.com/open?id=0BzXlT5Noap2PdllGYTVxVlp2MUU
PS. Thanks to all those that created the mods. I did not create any, only put into a simple script.
Click to expand...
Click to collapse
How do I go about using the one for wallet?
Tap'n
I'm not the expert here, but I'll give this a stab, make sure you have ADB setup, download this script and run it. If you get wallet to run, but then close or just keep spinning, trying to run, go to the other wallet thread in this forum and use the fix on page 1. that's what worked for me.
techgov8 said:
How do I go about using the one for wallet?
Tap'n
Click to expand...
Click to collapse
mazz0310 said:
Hey guys,
Not sure if this would be helpful to anyone but I created a script for Mac/Linux that installs some of the mods. There is no way to undo the changes, and I have only done limited testing so YMMV.
I am not liable for anything that happens to your device.
With terminal just cd to the folder and do ./note2.script
The mods I have added so far are:
1) Google Wallet (I still haven't had any success)
2) All apps in MultiWindow
3) Wifi Icon in statusbar + black statusbar
V2. I have added a Windows batch as well as the Linux script
https://docs.google.com/open?id=0BzXlT5Noap2PdllGYTVxVlp2MUU
PS. Thanks to all those that created the mods. I did not create any, only put into a simple script.
Click to expand...
Click to collapse
Check like 27 in note2.sh
Code:
adb shell "su -c 'mount -o rw,remount /system'"
if [ "$input" = "1" ]; then
walletzip=NoteII-lib_nfc-fix-r87
walletloc=/sdcard/Note2Scripts/Wallet
copytoloc=/system
adb shell "mkdir -p $walletloc"
adb shell "mkdir -p $copytoloc/app"
adb shell "mkdir -p $copytoloc/lib"
adb shell "mkdir -p $copytoloc/lib/hw"
> adb shell "mkdir -p $copytoloc//etc"
adb push $walletzip $walletloc
You have an extra forward slash.
JonMS said:
Check like 27 in note2.sh
Code:
adb shell "su -c 'mount -o rw,remount /system'"
if [ "$input" = "1" ]; then
walletzip=NoteII-lib_nfc-fix-r87
walletloc=/sdcard/Note2Scripts/Wallet
copytoloc=/system
adb shell "mkdir -p $walletloc"
adb shell "mkdir -p $copytoloc/app"
adb shell "mkdir -p $copytoloc/lib"
adb shell "mkdir -p $copytoloc/lib/hw"
> adb shell "mkdir -p $copytoloc//etc"
adb push $walletzip $walletloc
You have an extra forward slash.
Click to expand...
Click to collapse
Thank you for that. I will fix that, also I have added the 4.2 gallery so I will upload that shortly. Also I am going to remove Nfc.apk and NfcTest.apk from the wallet script as I have heard they are not needed.
I uploaded a newer version.
Fixed the //etc bug, and added the 4.2 Camera/Gallery
Links dead in op
Sent from my SCH-I605 using xda app-developers app
xxxxmarkxxx said:
Links dead in op
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
I fixed the link to a different file hoster. If anyone has some where better let me know.
The windows batch file didn't work, doesn't look like it did anything. I copied systemui manually and set permissions but when I rebooted I lost my UI!
SirVilhelm said:
The windows batch file didn't work, doesn't look like it did anything. I copied systemui manually and set permissions but when I rebooted I lost my UI!
Click to expand...
Click to collapse
When you ran it did it give you the options of which script to run? Which did you select?
mazz0310 said:
When you ran it did it give you the options of which script to run? Which did you select?
Click to expand...
Click to collapse
Yes. I ran the option for modifying wifi, I saw it start up ADB but then the window just closed. I then copied systemui.apk over using root explorer and set the permissions but when I rebooted I lost the UI lol.
does this 'add' the 4.2 camera or replace the current one
georgepink said:
does this 'add' the 4.2 camera or replace the current one
Click to expand...
Click to collapse
It adds it. You will have both afterwards.
SirVilhelm said:
Yes. I ran the option for modifying wifi, I saw it start up ADB but then the window just closedl.
Click to expand...
Click to collapse
I have the same problem. The window just closes and doesn't do anything. I know we're doing something wrong. But what?

root method for ics r5a

http://qua1ia.blogspot.com/2013/05/get-root-on-sony-tablet-p-ics-r5a.html
It works really
cream5296 said:
http://qua1ia.blogspot.com/2013/05/get-root-on-sony-tablet-p-ics-r5a.html
It works really
Click to expand...
Click to collapse
Can any console-ninja verify?
Anyone who has ever done could mount a video tutorial for the layman like me. thank you
it took me a little time to compile it (since i cannot read everything on the website, perhaps there is a precompiled binary) but after that i think i got temporary root
Code:
[0|08:40|[email protected]|~/android_run_root_shell/libs/armeabi>
$ adb push run_root_shell /data/local/tmp
[0|08:40|[email protected]|~/android_run_root_shell/libs/armeabi>
$ adb shell
[email protected]:/ $ cd /data/local/tmp
[email protected]:/data/local/tmp $ id
uid=2000(shell) gid=2000(shell) groups=1003(graphics),1004(input),1007(log),1009(mount),1011(adb),1015(sdcard_rw),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats)
[email protected]:/data/local/tmp $ ./run_root_shell
failed to open /dev/diag due to No such file or directory.
Attempt perf_swevent exploit...
writing address is 8e09
[email protected]:/data/local/tmp # id
uid=0(root) gid=0(root)
so i got temporary root...with that i could remount the system partition, copy busybox and su to /system/xbin and Superuser.apk to /system/app, so i guess i am rooted again, thanks for the nice work!
if anyone wants i can create a zip with all needed files and a linux bash file for installing.
smokey_joe said:
it took me a little time to compile it (since i cannot read everything on the website, perhaps there is a precompiled binary) but after that i think i got temporary root
Code:
[0|08:40|[email protected]|~/android_run_root_shell/libs/armeabi>
$ adb push run_root_shell /data/local/tmp
[0|08:40|[email protected]|~/android_run_root_shell/libs/armeabi>
$ adb shell
[email protected]:/ $ cd /data/local/tmp
[email protected]:/data/local/tmp $ id
uid=2000(shell) gid=2000(shell) groups=1003(graphics),1004(input),1007(log),1009(mount),1011(adb),1015(sdcard_rw),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats)
[email protected]:/data/local/tmp $ ./run_root_shell
failed to open /dev/diag due to No such file or directory.
Attempt perf_swevent exploit...
writing address is 8e09
[email protected]:/data/local/tmp # id
uid=0(root) gid=0(root)
so i got temporary root...with that i could remount the system partition, copy busybox and su to /system/xbin and Superuser.apk to /system/app, so i guess i am rooted again, thanks for the nice work!
if anyone wants i can create a zip with all needed files and a linux bash file for installing.
Click to expand...
Click to collapse
So it works???
Sent from my Sony Tablet S using xda app-developers app
jumper62 said:
So it works???
Sent from my Sony Tablet S using xda app-developers app
Click to expand...
Click to collapse
so i got temporary root...with that i could remount the system partition, copy busybox and su to /system/xbin and Superuser.apk to /system/app, so i guess i am rooted again, thanks for the nice work!
that's a bit vague, okay, but after doing a complete Titanium Backup on my Sony Tablet P, i gues i can say for sure, yes i have root
smokey_joe said:
it took me a little time to compile it (since i cannot read everything on the website, perhaps there is a precompiled binary) but after that i think i got temporary root
[...]
so i got temporary root...with that i could remount the system partition, copy busybox and su to /system/xbin and Superuser.apk to /system/app, so i guess i am rooted again, thanks for the nice work!
if anyone wants i can create a zip with all needed files and a linux bash file for installing.
Click to expand...
Click to collapse
Yes, I want - and I think many other users also.
It would be nice if you would provide the needed files. Maybe you can describe in short words what you exactly did.
Posted the procedure and link to files in english
http://forum.xda-developers.com/showthread.php?p=42485765
Sent from my Sony Tablet S using xda app-developers app
plerzelwupp said:
Yes, I want - and I think many other users also.
It would be nice if you would provide the needed files. Maybe you can describe in short words what you exactly did.
Click to expand...
Click to collapse
i posted a zip package below jumper62s post*, which contains all needed files and a little readme file, which explains what to do, since he didn't post any binaries and you have to compile this stuff before you can use it, i guess it's kind of useful for a lot of people out there.....but it could be that i have to delete it, if he wants me to
*http://forum.xda-developers.com/showthread.php?p=42485765
THANKS!
smokey_joe said:
i posted a zip package below jumper62s post*, which contains all needed files and a little readme file, which explains what to do, since he didn't post any binaries and you have to compile this stuff before you can use it, i guess it's kind of useful for a lot of people out there.....but it could be that i have to delete it, if he wants me to
*http://forum.xda-developers.com/showthread.php?p=42485765
Click to expand...
Click to collapse
Thank you so much - it works! :good:
I just rooted my Sony Tablet with Android 4.0.3 R5A
I justed wanted to tell it here also - I think it's better to continue the following discussion in the other (linked) thread.

Categories

Resources