Related
I need some help I think I really messed up. I updated my HTC Hero with the new sprint 2.1 ROM a few days ago an HTC update popped up and with out thinking I installed it. I now cannot root my phone.
I have tried (GUIDE How to Root Sprint 2.1 Release for CDMA Hero) here in the XDA site with no luck does anyone have any other suggestions on how I can root my phone again.
mannyvigi1985 said:
I need some help I think I really messed up. I updated my HTC Hero with the new sprint 2.1 ROM a few days ago an HTC update popped up and with out thinking I installed it. I now cannot root my phone.
I have tried (GUIDE How to Root Sprint 2.1 Release for CDMA Hero) here in the XDA site with no luck does anyone have any other suggestions on how I can root my phone again.
Click to expand...
Click to collapse
Run the Offical 2.1 RUU again, and it will remove the 2nd upate. Then you can root per the Guide to Root Spring 2.1 Relase by Regaw.
tried it with no luck
I tried it and it did not work I cannot get SU permission
This is what i get and wwhen I chekc my phone there is no SU icon
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
H:\>cd C:\android-sdk-windows\tools
H:\>cd..
H:\>c
'c' is not recognized as an internal or external command,
operable program or batch file.
H:\>c:
C:\android-sdk-windows\tools>adb devices
List of devices attached
HT01NHF06527 device
C:\android-sdk-windows\tools>adb push unrevoked /sdcard
915 KB/s (0 bytes in 439327.000s)
C:\android-sdk-windows\tools>adb push recovery.img /sdcard
1185 KB/s (0 bytes in 3356672.002s)
C:\android-sdk-windows\tools>adb push boot-patched.zip /sdcard
1148 KB/s (0 bytes in 2279194.001s)
C:\android-sdk-windows\tools>adb shell
$ sh /sdcard/unrevoked
sh /sdcard/unrevoked
Unpacking, please wait...
88 88 88b 88 88""Yb 888888 88 dP dP"Yb 88 dP 888888 8888b.
88 88 88Yb88 88__dP 88__ 88dP dP Yb 88odP 88__ 8I Yb
Y8 8P 88 Y88 88"Yb 88"" 8dP Yb dP 88"Yb 88"" 8I dY
`YbodP' 88 Y8 88 Yb 888888 YP YbodP 88 Yb 888888 8888Y
==================================================================
unrEVOked: root for HTC evo and hero (http://unrevoked.com)
Please wait. This will take up to 30 seconds.
$
mannyvigi1985 said:
This is what i get and wwhen I chekc my phone there is no SU icon
Please wait. This will take up to 30 seconds.
$
Click to expand...
Click to collapse
Never used unRevoked. Not sure how it is supposed to work.
Which one have you used
mannyvigi1985 said:
Which one have you used
Click to expand...
Click to collapse
i've only rooted 1.5 the old manual way.
If you ran the most recent RUU from the sprint site, it is already patched against root. You have to run the older version.
Go to: http://forum.xda-developers.com/showthread.php?t=694572
Scroll down to Regaw's second post and click on the link that says, "My Personal One I used for testing"
Run THAT Ruu.......THEN proceed to root via his instructions at the beginning of the post.
Good Luck.
P.S. Your software number must be 2.27.651.5
If it has a .6 at the end, you can't root
I'm in the same boat, you can't Finn the .5 ruu over .6 can you?
-------------------------------------
Sent via the XDA Tapatalk App
Try it if it does not work in the phone os shutdown the phone and power it on with home and down pressed and select fastboot and run the ruu again. if it dosen't work i think your sol but i think it works otherwise we would have an uprise of i bought my phone at best buy, radioshack, or sprint and they updated it before they gave it to me.
I spoke to a bookseller tonight that informed me we will be getting a minor update tomorrow morning to 1.0.1. Apparently it improves wifi connectivity and addresses something to do with mobile/desktop browser mode with the stock NC browser.
It is supposed to be available for manual update in the morning and will be staggered out to NCs via wifi over the next couple of days.
I'm turning my wifi off just in case, I'd rather not wake up without root tomorrow.
The original nook updates pull the assets from images.barnesandnoble.com domain. Is it possible that if the NC updates are located on the same domain, would adding images.barnesandnoble.com to the hosts file block it from downloading?
rpollard00 said:
I spoke to a bookseller tonight that informed me we will be getting a minor update tomorrow morning to 1.0.1. Apparently it improves wifi connectivity and addresses something to do with mobile/desktop browser mode with the stock NC browser.
It is supposed to be available for manual update in the morning and will be staggered out to NCs via wifi over the next couple of days.
I'm turning my wifi off just in case, I'd rather not wake up without root tomorrow.
The original nook updates pull the assets from images.barnesandnoble.com domain. Is it possible that if the NC updates are located on the same domain, would adding images.barnesandnoble.com to the hosts file block it from downloading?
Click to expand...
Click to collapse
so are you going to leave wifi off forever? It's not like it's hard to root the NC. I want to enjoy my NC not be paranoid it will update
Novarider said:
so are you going to leave wifi off forever? It's not like it's hard to root the NC. I want to enjoy my NC not be paranoid it will update
Click to expand...
Click to collapse
Unless of course the new update makes it unrootable... or just takes longer to get the new version rooted.
Homer
*
* Disabling OTA Updates
*
adb shell mount -o rw,remount -t ext2 /dev/block/mmcblk0p5 /system
adb shell mv /etc/security/otacerts.zip /etc/security/otacerts.zip_DISABLED_OTA_UPDATES
xboxexpert said:
*
* Disabling OTA Updates
*
adb shell mount -o rw,remount -t ext2 /dev/block/mmcblk0p5 /system
adb shell mv /etc/security/otacerts.zip /etc/security/otacerts.zip_DISABLED_OTA_UPDATES
Click to expand...
Click to collapse
xbox,
Does this keep the nook from randomly (or systematically) resetting itself to factory stock???
Thanks for the tip regardless!!!
I don't see the manual update posted on the B&N website yet.
bbtheory said:
xbox,
Does this keep the nook from randomly (or systematically) resetting itself to factory stock???
Thanks for the tip regardless!!!
Click to expand...
Click to collapse
It looks like it takes the file that allows over the air update and changes the file name so that file is never activiated, thus not installing any updates automatically.
Correct me if I'm wrong. I'm recalling some old tivo hacking unix knowledge here.
Another option would be to block barnesandnoble.com in your DNS or router, then it won't be able to check for updates but you'll still be able to browse other sites. But you won't be able to buy B&N books.
Just a thought, in case changing the update file name doesn't work.
An update this quickly may point to rooted users rather than a wifi fix.
considering that Barnes and Nobel announced that froyo and the market are coming in January, I don't think they really care about rooting. We haven't found a way to cheat their store and we are not abusing any cellular networks, I bet they will just let us be.
This last idea could work but I connect from at least 3 different locations: home, work, coffee shop. Still, eliminating one would limit your chances.
xboxexpert said:
*
* Disabling OTA Updates
*
adb shell mount -o rw,remount -t ext2 /dev/block/mmcblk0p5 /system
adb shell mv /etc/security/otacerts.zip /etc/security/otacerts.zip_DISABLED_OTA_UPDATES
Click to expand...
Click to collapse
This should be done using ADB.
It's the command line script that is use to disable ota updates on android phones as well.
I'll post the host file blocking B&N later on tonight. You guys do know that there is a host file on your nook color that you can use just like your windows host file, right?
xboxexpert said:
I'll post the host file blocking B&N later on tonight. You guys do know that there is a host file on your nook color that you can use just like your windows host file, right?
Click to expand...
Click to collapse
I looked in Windows/System32/drivers/etc but I couldnt find it... might have something to do with the lack of a Windows folder
Clear Blocking
On the possibility that the imminent update is benign (towards root), what are the commands for re-enabling updating?
on your windows computer its in
windows/system32/drives/etc/hosts (its hidden)
on your nook I dont remember where its at but I know its there.
ender89 said:
considering that Barnes and Nobel announced that froyo and the market are coming in January, I don't think they really care about rooting. We haven't found a way to cheat their store and we are not abusing any cellular networks, I bet they will just let us be.
Click to expand...
Click to collapse
No they didn't, the news was not right, B&N then corrected it saying that update is coming 2011 (not necessarily in January).
If you used my block updates script below
adb shell mount -o rw,remount -t ext2 /dev/block/mmcblk0p5 /system
adb shell mv /etc/security/otacerts.zip /etc/security/otacerts.zip_DISABLED_OTA_UPDATES
too undo it you would do
adb shell mount -o rw,remount -t ext2 /dev/block/mmcblk0p5 /system
adb shell mv /etc/security/otacerts.zip_DISABLED_OTA_UPDATES /etc/security/otacerts.zip
That would rename the old file back to normal
ender89 said:
considering that Barnes and Nobel announced that froyo and the market are coming in January, I don't think they really care about rooting. We haven't found a way to cheat their store and we are not abusing any cellular networks, I bet they will just let us be.
Click to expand...
Click to collapse
In addition to it being sometime in 2011, it won't include the Android market but Barnes and nobles own market. They released a statement earlier this week.
Sent from my EVO using XDA App
Thanks for the info
The update is now available
http://www.barnesandnoble.com/u/nookcolor-support-software-update/379002520/?cds2Pid=35758#
Hi all -
I wrote a script and created a CWM update-flashable to perform a one-line install of the CM7 GPS Fix, documented here by jwleonhart. There were some complaints about jwleonhart's install instructions; it's a bit cumbersome and not trouble-free, especially for noobs. Please read the original thread for detailed instructions on what my script does; the script exactly does jwleonhart's instructions.
NOTE: EVERY VERSION OF THIS FIX MAKES SUBTLE BUT IMPORTANT CHANGES THAT MAY IMPROVE OR DEPRESS YOUR GPS FUNCTIONALITY. UNTIL A TRUE GPS DRIVER DROPS FOR THE VIBRANT (which at this point seems very unlikely) ALL WE CAN DO IS HACK AND TWEAK. NEWER VERSIONS MAY WORK BETTER OR WORSE THAN OLDER ONES! PLEASE POST WITH YOUR EXPERIENCE USING THE VARIOUS VERSIONS OF THE FIX, AND PLEASE BE CONSTRUCTIVE/HELPFUL WITH YOUR FINDINGS!
There are three separate ways to install: CWM, CWM with no gpsd, and via shell script.
CWM Installation
The easiest way to install the GPSFix files is to download and flash Vibrant_CM7_GPSFix_V1.4-CWM-signed.zip. All files will be copied over and read/execute permissions will be properly set.
NOTE: Flashable does NOT contain AngryGPS. There are some people who have better results without it, so I'll let you install that one on your own. You can find the APK at jwleonhart's CM7 Install Guide.
OPTIONAL: There's a no-gpsd version of the CWM flashable as well - if you want to use the gpsd from your current nightly, or mix and match. The GPS driver might get better in time, and who knows if down the line the gpsd bundled with the latest nightly is better than this one, pulled from Trigger Redux#13 (CM7 Nightly#54).
Script Installation
The script is available for users who want to customize their own GPS fix. It requires an extra reboot (since you can't just run the script after installing a new nightly), but you can easily add/remove files to the script to suit your own needs. Personally, I use the script to test new versions before they go into the CWM flashable.
Attached is the zip file with all the files and the shell script you need. Just extract the folder to your SD card; then in a terminal (ADB or terminal emulator with root), run these commands:
Code:
su # if you're not already dropped into superuser status
cd /sdcard/GPSFix
bash GPSFix.sh
It will automatically copy all the files (gpsd, secgps.conf, gps.conf, 90getgps_lto) to the right places, then set permissions those files, then reboot. AngryGPSmod.apk is in there but is not installed; I suggest try the GPS fix without AngryGPS first, then install it after if you don't get good results.
Script Contents
For those interested, here's the contents of the script..
Code:
#!/system/xbin/bash
FIXFILES="/system/etc/gps.conf
/etc/init.d/90getgps_lto
/system/vendor/bin/gpsd"
REMOVEONLY="/data/gps/lto.dat
/data/gps/lto2.dat
/data/gps/svstatus.txt
/data/gps/ltoStatus.txt
/data/gps/secgps.conf
/system/bin/agpsd"
mount -o rw,remount /system
echo "==================================================="
echo "======Vibrant CM7 GPS Fix One-Command Install======"
echo "=================by strictlyrude27================="
echo ""
# Delete previous fix files
echo "Deleting previous fix files..."
for file in $FIXFILES $REMOVEONLY
do
if [ -f $file ]; then
rm $file
fi
done
# Copy new files and set permissions
echo "Copying new files over..."
for file in $FIXFILES
do
fname=$(basename $file)
cp $fname $file
chmod 0755 $file
if [ $file == "/system/vendor/bin/gpsd" ]; then
chgrp shell $file
fi
done
echo "Rebooting device.. Enjoy GPS!"
echo "Install AngryGPSmod.apk manually if you want to."
echo ""
reboot
Credits
jwleonhart - writing up the CM7 install guide
roffee - finding the original GPS Fix for CM7
jad3675 - providing original Long Term Orbital download script
PLEASE go to their threads and hit their Thanks button. They did all the heavy lifting, I just packaged up their findings and work into a simple-to-use flashable.
"If I have seen far, it is because I have stood on the shoulders of giants."
--Isaac Newton
Changelog:
Code:
V1.5.1
-- renamed init-script to overwrite CM7's implementation of V3 of this fix
-- now offering "newgpsd" variant - contains gpsd from latest CM7 nightly
-- standard zip: faster locks, but more prone to randomly quitting working
-- newgpsd variant: slower locks, but more resilient GPS indicator [color="red"] still needs testing[/color]
V1.5
-- cleaned up script
-- now keeping LTO data named lto2.dat (used to rename to lto.dat)
-- lowering threshold for lto2 refresh to 3 days
V1.4 (all variants)
-- replaced lto.dat with lto2.dat - preliminary testing indicates survival after reboot and better TTFF
-- now using us.pool.ntp.org for the time server - if you're not in the US, please adjust your gps.conf accordingly
-- gps.conf tweaks - trading accuracy for TTFF for now..
V1.3.1 (all variants)
--set permissions on downloaded lto.dat to 755 (was 644) - i couldn't get
any birds in view before, now i can lock. give this a try if 1.3 doesn't work.
V1.3 (all variants)
--removed agpsd
--added 90getgps_lto - will fetch latest long term orbit data on boot
--hopefully these changes help get REPEAT locks faster - please let us know!
V1.2CWM-nogpsd
--same as V1.2CWM, but with no gpsd. This way you can use gpsd from
the latest CM7 nightlies, or whatever nightly gpsd worked best for you.
I will start collecting gpsd files and posting them for your convenience soon!
V1.2CWM
--created CWM flashable for your convenience! performs the EXACT SAME
as the script, so if you've already run V1.2, no need to flash V1.2CWM.
But, it could be useful if you tend to flash nightlies all the time.
V1.2
--changed all file permissions to 0755 - not sure how reading .conf files
worked if there wasn't any read permission. gets me a faster lock after
applying the script.
V1.1
--fixed typo - "chmod shell" should have been "chgrp"
--removed \t, \n - was not being interpreted by shell correctly
V1
--initial release
If I helped you with your CM7 experience, please hit the Thanks Button
im about to try this
Dear all -
Script was updated to V1.2. I noticed that no read permissions were set to the .conf files; my thinking is there's no way Android could read those config files without read permissions, so they weren't even doing anything.
That said, the latest script now gives permission 0755 (rwxr-xr-x) to all files. After running the script now, I get a lock after first reboot in about 25 seconds.
You can download V1.2 and start from scratch, or just copy/paste the latest script contents into your GPSFix.sh. Or, run the following commands at a terminal (ADB or terminal emulator with root):
Code:
su
mount -o rw,remount /system
chmod 0755 /data/gps/secgps.conf
chmod 0755 /system/etc/gps.conf
chmod 0755 /system/bin/agpsd
mount -o ro,remount /system
reboot
Also, I noticed 31 downloads (and there were 20-some in the original post) but only a total of 3 Thanks.. I'm kind of addicted to the Thanks button and don't ask for donations otherwise, please push it if I help make a better CM7 experience for you
do they work with MIUI ?
chuotcontodung said:
do they work with MIUI ?
Click to expand...
Click to collapse
Should work with any CM7-based ROM; I hope someone else can confirm, though; I only run vanilla CM7 and occasionally Trigger Redux.
Any chance to make it CWM-based ?
It'd be so much nicer to drop the zip into a SD root and just run it after every nighty installation.
strictlyrude27 said:
Dear all -
Script was updated to V1.2. I noticed that no read permissions were set to the .conf files; my thinking is there's no way Android could read those config files without read permissions, so they weren't even doing anything.
That said, the latest script now gives permission 0755 (rwxr-xr-x) to all files. After running the script now, I get a lock after first reboot in about 25 seconds.
You can download V1.2 and start from scratch, or just copy/paste the latest script contents into your GPSFix.sh. Or, run the following commands at a terminal (ADB or terminal emulator with root):
Code:
mount -o rw,remount /system
chmod 0755 /data/gps/secgps.conf
chmod 0755 /system/etc/gps.conf
chmod 0755 /system/bin/agpsd
mount -o ro,remount /system
reboot
Also, I noticed 31 downloads (and there were 20-some in the original post) but only a total of 3 Thanks.. I'm kind of addicted to the Thanks button and don't ask for donations otherwise, please push it if I help make a better CM7 experience for you
Click to expand...
Click to collapse
You need to add "su" to the first line of your installation instructions
ferhanmm said:
You need to add "su" to the first line of your installation instructions
Click to expand...
Click to collapse
I assumed you would be entering the terminal with root. I'll update that in the OP though, thanks.
svladimir said:
Any chance to make it CWM-based ?
It'd be so much nicer to drop the zip into a SD root and just run it after every nighty installation.
Click to expand...
Click to collapse
I don't know how to make an update.zip, but perhaps this will be a good time to learn! I'm way better at shell scripting which is why I went this route. I'll see what I can do, hopefully I can have a CWM flashable soon.. if anyone else can help me I would much appreciate it.
That said, note that you can still open an adb shell in recovery mode, so you could run the script after you flash the nightly. I haven't tried that, but I will soon.
strictlyrude27 said:
I assumed you would be entering the terminal with root. I'll update that in the OP though, thanks.
Click to expand...
Click to collapse
Lol yea but I guarantee you that if you didn't add it more than 20 people would ask
It turns out making an update.zip isn't so hard after all testing it now, if it works out I'll upload to OP. I'll keep the original scripts and stuff for posterity's sake.
Great efforts, wow
This is just great piece of development, a sure and simple cure for the GPS and the CM 7+ roms.
Now that you have created this script, one so simple, there will be leages of Vibrant Users who will be able to take advantage of your generousity and put this puppy to work.
Kudos and once again, great work.... W.0.W.
I can confirm, with the AngryGPS I was able to lock in with fast lock in up to Accuracy of 20 feet, picked up 8 of the 12 satellites in view.
Thank you very, very much....
Dear all -
V1.2CWM released! As requested, a CWM flashable zip has been created. It does literally the exact same thing as V1.2 (copies over the GPS files to the right locations, sets 0755 permissions on all files). You don't need to flash if you've already installed V1.2, but I would keep the zip on hand for when you decide to flash a new nightly.
As always, the Thanks button lets me know I'm loved
I plan on starting a gpsd database, seems that while all gpsd's are created equal, some are more equal than others so you can mix and match the gpsd from a previous nightly, rather than referring to the supermassive black hole that is the official CM7 Nightly thread.
And finally, I must point out that I did NOT create these fixes. All the credit and praise belongs to jwleonhart and roffee. I just packaged up their work into an easy-to-install package, those guys did the real work! Please find their threads in the Credits section of my OP and hit the Thanks button!
My phone refuses to download these. Annoying.
^ try getting astro, go to preferences and allow internet downloads.
Also, chrome to phone is amazing
s15274n said:
^ try getting astro, go to preferences and allow internet downloads.
Also, chrome to phone is amazing
Click to expand...
Click to collapse
I already did the astro thing.
Turned it on and off several times.
And I used chrome to phone to send the link, with the same result.
I swtiched over to Opera, and that eventually agreed to download it.
OP updated. I now offer a no-gpsd version of the CWM flashable, in case you want to keep your gpsd or mix and match with other nightlys. I'll put up a link to a Dropbox to store GPS drivers from every nightly.
Ironically, the fix used to work for me 100% of the time, but not anymore. I'm going to start experimenting with new gpsd's from CM7 nightlies; please also let me know of your own results!
EDIT: I wasn't getting locks, or was getting and losing locks with my fix. Tried #72 gpsd and the nogpsd flash.. 0/8 birds after 5 minutes. Reflashed my own fix. TTFF [time to first fix] 17 seconds, 7/10 satellites, 150 ft accuracy. After 1 minute, 20 foot accuracy. Rebooted. 0/10 after 5 minutes.
I wish I understood you, GPS. I wish I understood you.
very nice.. i tried right now..
before this, its takes serveral minutes to get a lock.
after this patch.
first 30 secs, In View 12 satts.
1 min, get in USE 4 satts, 25 meters accuracy.
2 min, get 6 satts, 7 meters accuracy.
Very fast!
Thanks!
Nice!!! It will be much much easier now to get GPS working after nightlies. Awesome!
Sent from my SGH-T959 using XDA App
This works but great the first day but
GPS seems to not even lock in the next day.
Dattack said:
This works but great the first day but
GPS seems to not even lock in the next day.
Click to expand...
Click to collapse
tell me about it. i put the damn thing together and i'm in the same boat. It's really hit or miss for me.
These are git repos for the initramfs that I pulled from the Austria Firmware and the Kernel Source downloaded and reuploaded to github. I'm going to fork and start working on a kernel for when I get the 7.7 myself, but if anyone else wants to start working on it and use them, feel free.
Kernel is still uploading, mistakenly reuploaded the initramfs twice. (Facepalm)
https://github.com/bedwa/P6800-Kernel
https://github.com/bedwa/P6800-initramfs
Enjoy guys!
I have a 6800 device imported from Hong Kong and have been trying to figure out how to port CWM recovery to it. I work as a developer but I haven't looked at this before as I haven't needed to
So far I have rooted the device and had a dig around the filesystem. The partitioning looks similar to the 7 plus:-
179 1 20480 mmcblk0p1 /efs
179 2 1280 mmcblk0p2 /boot
179 3 1280 mmcblk0p3 /mnt/.lfs
179 4 8192 mmcblk0p4
179 5 8192 mmcblk0p5
179 6 8192 mmcblk0p6 / recovery
179 7 204800 mmcblk0p7 /cache
179 8 16384 mmcblk0p8 <radio/modem>
179 9 851968 mmcblk0p9 /system
179 10 13791232 mmcblk0p10 /data
179 11 458752 mmcblk0p11 /preload
179 12 8192 mmcblk0p12
I'm trying to figure out what's in 4,5 and 12.
I have the kernel source code downloaded and buildig and I'm now looking at where to go next. If anyone can post any links to resources on the web which might speed up the process then it would be most appreciated. I don't have a lot of time to spend on this.
Could you "if dd" them and send me a link? I'll be able to find out which is the recovery.img. ;-)
P4 - https://rapidshare.com/files/2298175628/mmcblk0p4.img?bin=1
P5 - https://rapidshare.com/files/2298175628/mmcblk0p4.img?bin=1
P6 - (/recovery) https://rapidshare.com/files/1289796625/recovery.img?bin=1
Let me know what you find and if you don't mind how you went about it. Have got to go and be sociable now
looking in /sys/block/mmbclk0/
gives all the partition info - name,size,ofset, corresponds with pit info from heimdall.
also interested in this
Heres the info (not sure if it helps):
mmcblk0/mmcblk0p4
alignment_ofset 0
discard_alignment 4265607168
inflight 0 0
partition 4
partition_name param
size 16384
start 57344
stat 25 118 1144 0 0 0 0 0 25 40
mmcblk0/mmcblk0p5
alignment_ofset 0
discard_alignment 4257218560
inflight 0 0
partition 5
partition_name kernel
size 16384
start 73728
stat 0 0 0 0 0 0 0 0 0 0
mmcblk0/mmcblk0p6
alignment_ofset 0
discard_alignment 4248829952
inflight 0 0
partition 6
partition_name recovery
size 16384
start 90112
stat 0 0 0 0 0 0 0 0 0 0
mmcblk0/mmcblk0p7
alignment_ofset 0
discard_alignment 4240441344
inflight 0 0
partition 7
partition_name cache
size 409600
start 106496
stat 11 128 20 6 2 64 465 0 280 485
mmcblk0/mmcblk0p8
alignment_ofset 0
discard_alignment 4030726144
inflight 0 0
partition 4
partition_name modem
size 32768
start 516096
stat 58 2560 20944 380 0 0 0 0 330 380
mmcblk0/mmcblk0p9
alignment_ofset 0
discard_alignment 4013948928
inflight 0 0
partition 9
partition_name factoryfs
size 1703936
start 548864
stat 8796 407 701658 31365 0 0 0 0 15540 31325
Thanks - that helps confirm what I had found by digging around and completes the list of partitions.
I have now extracted initramfs from both the runtime and recovery kernels.
Now I need to find time to do some reading on how to port CWM recovery.
Anyone know whats in the param partition?
A quick update....
The partitioning for the 7.7 is very similar to the 7plus.
I have been in contact with the garyd9 who ported CWM to the 7plus and he has given us a few pointers including his github username.
See:-
http://forum.xda-developers.com/showthread.php?p=21717604#post21717604
Interestingly he says that it's likely that the samsung's kernel source release will not have the correct defconfig so we are going to need to tweak it.
The recovery binary gets compiled from the Cyanogenmod sources which are easily obtained.
Unfortunately I'm going to be tied up with my day job for most of this week but will try and look at this again on Friday.
Is there anyone that can keep the ball rolling while I'm busy?
Thanks
Ddraig
I'm getting this one and selling my Note. I'm so excited to see you guys working out of something for P6800 here.
Thanks to all devs in advance!
...........
Dark-Master said:
I'm getting this one and selling my Note. I'm so excited to see you guys working out of something for P6800 here.
Thanks to all devs in advance!
Click to expand...
Click to collapse
+1 here
Anybody want to buy my outdated,used Note?
Hehehe.. well, at least I just *seconds ago* ordered my Tab 7.7 from ebay uk.
Let the modding and ROM flashing begin!
@Lucid what's wrong with your Note..?
Sent from another Galaxy...
Nexus
There is nothing wrong with my Note, it is the best phone I've ever had.
So I went ahead and bought the 7.7 to see if that one is even better. Needs to arrive still.
I intend to use it as a daily phone and will keep it to my ear if needed,
no matter the reactions of other people.
Gadgetwise, I live for myself, not the general public.
I might sell on of them, but history shows I keep all my "old" phones.
I use my galaxy nexus for day to day but since finding out about phoneleash i dont really touch my phone anymore.. check out phone leash if you have two SIMs.. although i guess it can work with GV also..
Sent from another Galaxy...
Tab 7.7
I placed my 7.7 next to my Titan, Sensation and the Galaxy Note today to see how it fares, no way is it practical to put to the ear and it is pretty ridiculous to carry. It's a compact device but not THAT compact. My Kindle Fire was more handy. The bezel is too large.
However, the phone functionality is superb and if one can find an unobtrusive way to carry it, we could finally unify our communication requirements in one device.
lucid said:
There is nothing wrong with my Note, it is the best phone I've ever had.
So I went ahead and bought the 7.7 to see if that one is even better. Needs to arrive still.
I intend to use it as a daily phone and will keep it to my ear if needed,
no matter the reactions of other people.
Gadgetwise, I live for myself, not the general public.
I might sell on of them, but history shows I keep all my "old" phones.
Click to expand...
Click to collapse
monakh said:
.However, the phone functionality is superb and if one can find an unobtrusive way to carry it, we could finally unify our communication requirements in one device.
Click to expand...
Click to collapse
Check out the Samsung HM5000 Bluetooth pen thingy.
Y Ddraig Goch said:
A quick update....
The partitioning for the 7.7 is very similar to the 7plus.
I have been in contact with the garyd9 who ported CWM to the 7plus and he has given us a few pointers including his github username.
See:-
http://forum.xda-developers.com/showthread.php?p=21717604#post21717604
Interestingly he says that it's likely that the samsung's kernel source release will not have the correct defconfig so we are going to need to tweak it.
The recovery binary gets compiled from the Cyanogenmod sources which are easily obtained.
Unfortunately I'm going to be tied up with my day job for most of this week but will try and look at this again on Friday.
Is there anyone that can keep the ball rolling while I'm busy?
Thanks
Ddraig
Click to expand...
Click to collapse
Ddraig - I have been trying to get this get up and running.
So far I have managed to compile a zImage (recovery.img) using pretty much with the default config. Flashed through heimdall
I have used garyd9 recovery_initramfs, used his /sbin folder as is. The rest of the files are taken from the stock gt-6800 ramdisk inc modules. Where necessary make changes to partition entrys.
It boots in to clockworkmod recovery fine. It can mount all partitions but not /cache partition properly. I have checked the path and it seems correct ??
(I can mount via adb but cwm says it cant find it)
I will try building recovery binary at some point but will be busy for some days now.
I can you sent you some of my config files / recovery.img if it helps.
ezynow said:
Ddraig - I have been trying to get this get up and running.
So far I have managed to compile a zImage (recovery.img) using pretty much with the default config. Flashed through heimdall
I have used garyd9 recovery_initramfs, used his /sbin folder as is. The rest of the files are taken from the stock gt-6800 ramdisk inc modules. Where necessary make changes to partition entrys.
It boots in to clockworkmod recovery fine. It can mount all partitions but not /cache partition properly. I have checked the path and it seems correct ??
(I can mount via adb but cwm says it cant find it)
I will try building recovery binary at some point but will be busy for some days now.
I can you sent you some of my config files / recovery.img if it helps.
Click to expand...
Click to collapse
Sounds like you have made some progress with custom recovery, you need to be careful if you are using garyd9 recovery_initramfs on your device, note one i think this for a wifi device being p6210 if you device is a p6800 check all the mounting points as there are some slight differences between wifi and 3g devices. how did you compile your source and make compatible odin file. i'm on a mac and so far i can't get heimdall to work with p6810.
kassemja said:
Sounds like you have made some progress with custom recovery, you need to be careful if you are using garyd9 recovery_initramfs on your device, note one i think this for a wifi device being p6210 if you device is a p6800 check all the mounting points as there are some slight differences between wifi and 3g devices. how did you compile your source and make compatible odin file. i'm on a mac and so far i can't get heimdall to work with p6810.
Click to expand...
Click to collapse
After 2 days of kernel building and insmod, I've finally got a P6810 module to insmod successfully into my stock device. This is the config. It comes from the samsung source (GT-P6810_HC_Opensource) download with some DEBUG params turned off, and the local version set for the Australian DTKL5 firmware. I hope it can help someone avoid some trial and error pain. The p6800 guys may be able to turn off similar debugs and get theirs working. This is not fully tested, if you find other params that need changing please advise.
EDIT: I flashed this kernel to my device and it worked.
Here is more information on the environment.
CodeSourcery toolchain arm-2009q3-67-arm-none-linux-gnueabi.bin
Change the supplied Makefile CROSS_COMPILE to point to installed toolchain (eg, /home/davp/toolchains/arm-2009q3/bin/arm-none-linux-gnueabi-)
Copy the supplied file to .config in the directory where you unpacked the kernel source, then run make
Links http://forum.xda-developers.com/showpost.php?p=21870378&postcount=23 for how to do a basic initramfs to go with the new kernel (the result of this is running a command like: make -j5 CONFIG_INITRAMFS_SOURCE=initramfs_root, and then tar and flash the zImage).
Copy of the .config file (from the kernel directory):
Can you confirm you have suscessfully compiled and flashed a working kernel?
I want to have a crack at custom recovery for the p6810, i'm pretty confident we can getting going using a blend of sources from https://github.com/garyd9/initramfs_recovery_GT-P6210 and our kernel stuff.
davp said:
After 2 days of kernel building and insmod, I've finally got a P6810 module to insmod successfully into my stock device. This is the config. It comes from the samsung source (GT-P6810_HC_Opensource) download with some DEBUG params turned off, and the local version set for the Australian DTKL5 firmware. I hope it can help someone avoid some trial and error pain. The p6800 guys may be able to turn off similar debugs and get theirs working. This is not fully tested, if you find other params that need changing please advise.
Click to expand...
Click to collapse
Oh great - the 7.7 also has binary-only modules?
Freaking Samsung, I thought they were making progress with the I9100/I777 (100% open-source kernels, no proprietary modules).
Good luck bedwa - feel free to browse my github for Exynos tips (although much of it will not directly patch onto HC kernels), garyd9 knows what he's doing too.
I see that the question has been asked, but no one has answered it. I need to sideload an app to the watch, but all the guides I find are written for the 4 and 5, not the 3 since it still uses Tizen no WearOS. If someone could point me in the right direction for a guide, I would appreciate it!
jnelsoninjax said:
I see that the question has been asked, but no one has answered it. I need to sideload an app to the watch, but all the guides I find are written for the 4 and 5, not the 3 since it still uses Tizen no WearOS. If someone could point me in the right direction for a guide, I would appreciate it!
Click to expand...
Click to collapse
How to sideload apps into gw3
Hi. So i've been searching for hours and nothing is working. I'm trying to sideload modded aps onto my gw3. So far I've gone through: https://forum.xda-developers.com/t/app-mod-spotify-lite-scaled-for-standalone-use-on-wear-os.3815680/...
forum.xda-developers.com
You use "adb sideload" to move contents into the watch. If you don't know on how to use it, research for the answer. You can mess up the device.
First time writing here, just wan't to clear things up, because i have been doing some research now for a while...
First off all adb is for "normal" android devices (like most phones), you should use sdb because its specifically designed for use with Tizen Os devices (just as they are saying at the thread Maxninja linked, ehm ehm), including Galaxy Wearables, like documented here: sdb - tizen reference
(working with it is very similiar as with adb though)
To sideload apps there is already a very good tutorial in this forum here:
howto-sign-and-sideload-tizen-applications-to-the-gear-fit2-from-windows
-->Important: stick with java version 15, i had 17 installed and got IllegalAccessExceptions due to some linkage Error caused by newer Java versions. Just install an "Amazon corretti" msi (google it), and it should work.
I think the more important question also is where to get .tpk files...
Simplest way is to temporarily link your galaxy watch 3 with a samsung phone, download all the wanted apps, and then do the following
- enable developer mode,
- with
Code:
sdb pull
download the WHOLE folder, where your app is stored (something like /opt/usr/apps/URI_NAME_OF_APP or opt/usr/globalapps/URI_NAME_OF_APP) to your disk.
--> a tpk file has a structure like this, within the galaxy watch: (example)
com.samsung.d-calculator-wc1 : FOLDER
Code:
lrwxrwxrwx 1 app_fw app_fw 69 May 18 16:15 author-signature.xml -> /opt/usr/globalapps/com.samsung.d-calculator-wc1/author-signature.xml
lrwxrwxrwx 1 app_fw app_fw 52 May 18 16:15 bin -> /opt/usr/globalapps/com.samsung.d-calculator-wc1/bin
d????????? ? ? ? ? ? cache
d????????? ? ? ? ? ? data
lrwxrwxrwx 1 app_fw app_fw 52 May 18 16:15 lib -> /opt/usr/globalapps/com.samsung.d-calculator-wc1/lib
lrwxrwxrwx 1 app_fw app_fw 52 May 18 16:15 res -> /opt/usr/globalapps/com.samsung.d-calculator-wc1/res
drwxr-xr-x 3 owner users 4096 May 18 16:15 shared
lrwxrwxrwx 1 app_fw app_fw 67 May 18 16:15 tizen-manifest.xml -> /opt/usr/globalapps/com.samsung.d-calculator-wc1/tizen-manifest.xml
- if it didn't work, try to pull them independently without cache and data folders (or with the calculator example from "globalapps" instead of "apps"
- setup your galaxy watch to your actual phone (therefore factory resetting it)
- follow the signing procedure linked at the top of my post, for each app
- install them via
Code:
sdb install
Hope this helps!